Language

ActivityOptions.SetPendingIntentCreatorBackgroundActivityStartMode Method

Definition

Allow a PendingIntent to use the privilege of its creator to start background activities.

[Android.Runtime.Register("setPendingIntentCreatorBackgroundActivityStartMode", "(I)Landroid/app/ActivityOptions;", "GetSetPendingIntentCreatorBackgroundActivityStartMode_IHandler", ApiSince=34)]
public virtual Android.App.ActivityOptions SetPendingIntentCreatorBackgroundActivityStartMode(Android.App.BackgroundActivityStartMode mode);
[<Android.Runtime.Register("setPendingIntentCreatorBackgroundActivityStartMode", "(I)Landroid/app/ActivityOptions;", "GetSetPendingIntentCreatorBackgroundActivityStartMode_IHandler", ApiSince=34)>]
abstract member SetPendingIntentCreatorBackgroundActivityStartMode : Android.App.BackgroundActivityStartMode -> Android.App.ActivityOptions
override this.SetPendingIntentCreatorBackgroundActivityStartMode : Android.App.BackgroundActivityStartMode -> Android.App.ActivityOptions

Parameters

mode
BackgroundActivityStartMode

the mode being set

Returns

This Android.App.ActivityOptions instance, allowing calls to be chained.

Attributes

Remarks

Allow a PendingIntent to use the privilege of its creator to start background activities.

Android reference for android.app.ActivityOptions.setPendingIntentCreatorBackgroundActivityStartMode.

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