Udostępnij za pośrednictwem


Intent.FlagActivityRequireNonBrowser Field

Definition

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 = 1024

Implements

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.

Applies to