ActivityOptions.ModeBackgroundActivityStartAllowed Field

Definition

Caution

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

Allow the PendingIntent to use the background activity start privileges.

[Android.Runtime.Register("MODE_BACKGROUND_ACTIVITY_START_ALLOWED", ApiSince=34)]
[System.Obsolete("This constant will be removed in the future version. Use Android.App.BackgroundActivityStartMode enum directly instead of this field.", true)]
public const Android.App.BackgroundActivityStartMode ModeBackgroundActivityStartAllowed = 1;
[<Android.Runtime.Register("MODE_BACKGROUND_ACTIVITY_START_ALLOWED", ApiSince=34)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.App.BackgroundActivityStartMode enum directly instead of this field.", true)>]
val mutable ModeBackgroundActivityStartAllowed : Android.App.BackgroundActivityStartMode

Field Value

Value = 1
Attributes

Remarks

Allow the PendingIntent to use the background activity start privileges.

Java documentation for android.app.ActivityOptions.MODE_BACKGROUND_ACTIVITY_START_ALLOWED.

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