Share via


ActivityOptions.PendingIntentBackgroundActivityLaunchAllowed Property

Definition

Get PendingIntent activity is allowed to be started in the background if the caller can start background activities. -or- Set PendingIntent activity is allowed to be started in the background if the caller can start background activities.

public virtual bool PendingIntentBackgroundActivityLaunchAllowed { [Android.Runtime.Register("isPendingIntentBackgroundActivityLaunchAllowed", "()Z", "GetIsPendingIntentBackgroundActivityLaunchAllowedHandler", ApiSince=33)] get; [Android.Runtime.Register("setPendingIntentBackgroundActivityLaunchAllowed", "(Z)V", "GetSetPendingIntentBackgroundActivityLaunchAllowed_ZHandler", ApiSince=33)] set; }
[<get: Android.Runtime.Register("isPendingIntentBackgroundActivityLaunchAllowed", "()Z", "GetIsPendingIntentBackgroundActivityLaunchAllowedHandler", ApiSince=33)>]
[<set: Android.Runtime.Register("setPendingIntentBackgroundActivityLaunchAllowed", "(Z)V", "GetSetPendingIntentBackgroundActivityLaunchAllowed_ZHandler", ApiSince=33)>]
member this.PendingIntentBackgroundActivityLaunchAllowed : bool with get, set

Property Value

Attributes

Remarks

Property getter documentation:

Get PendingIntent activity is allowed to be started in the background if the caller can start background activities.

This member is deprecated. use #getPendingIntentBackgroundActivityStartMode() since for apps targeting android.os.Build.VERSION_CODES#UPSIDE_DOWN_CAKE or higher this value might not match the actual behavior if the value was not explicitly set.

Java documentation for android.app.ActivityOptions.isPendingIntentBackgroundActivityLaunchAllowed().

Property setter documentation:

Set PendingIntent activity is allowed to be started in the background if the caller can start background activities.

This member is deprecated. use #setPendingIntentBackgroundActivityStartMode(int) to set the full range of states

Java documentation for android.app.ActivityOptions.setPendingIntentBackgroundActivityLaunchAllowed(boolean).

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