Intent.FlagActivityRequireNonBrowser Field
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
This constant will be removed in the future version. Use Android.Content.ActivityFlags enum directly instead of this field.
If set in an intent passed to Context#startActivity Context.startActivity()
, this
flag will only launch the intent if it resolves to a result that is not a browser.
[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
Field Value
Value = 1024Implements
- Attributes
Remarks
If set in an intent passed to Context#startActivity Context.startActivity()
, this flag will only launch the intent if it resolves to a result that is not a browser. If no such result exists, an ActivityNotFoundException
will be thrown.
Java documentation for android.content.Intent.FLAG_ACTIVITY_REQUIRE_NON_BROWSER
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.