Share via


ActivityOptions.ModeBackgroundActivityStartDenied Field

Definition

Caution

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

Deny the PendingIntent to use the background activity start privileges.

[Android.Runtime.Register("MODE_BACKGROUND_ACTIVITY_START_DENIED", 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 ModeBackgroundActivityStartDenied = 2;
[<Android.Runtime.Register("MODE_BACKGROUND_ACTIVITY_START_DENIED", 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 ModeBackgroundActivityStartDenied : Android.App.BackgroundActivityStartMode

Field Value

Value = 2
Attributes

Remarks

Deny the PendingIntent to use the background activity start privileges.

Java documentation for android.app.ActivityOptions.MODE_BACKGROUND_ACTIVITY_START_DENIED.

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