语言

Intent.FlagActivityRequireNonBrowser 字段

定义

注意

This constant will be removed in the future version. Use Android.Content.ActivityFlags enum directly instead of this field.

如果在传递给意向 Context#startActivity Context.startActivity()的意向中设置,则仅当该标志解析为不是浏览器的结果时,此标志才会启动该意向。

[Android.Runtime.Register("FLAG_ACTIVITY_REQUIRE_NON_BROWSER", ApiSince=30)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Content.ActivityFlags enum directly instead of this field.", true)]
public const Android.Content.ActivityFlags FlagActivityRequireNonBrowser = 1024;
[<Android.Runtime.Register("FLAG_ACTIVITY_REQUIRE_NON_BROWSER", ApiSince=30)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Content.ActivityFlags enum directly instead of this field.", true)>]
val mutable FlagActivityRequireNonBrowser : Android.Content.ActivityFlags

字段值

Value = 1024

实现

特性

注解

如果在传递给意向 Context#startActivity Context.startActivity()的意向中设置,则仅当该标志解析为不是浏览器的结果时,此标志才会启动该意向。 如果不存在此类结果,将引发一个 ActivityNotFoundException 。

Java文档android.content.Intent.FLAG_ACTIVITY_REQUIRE_NON_BROWSER。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于