ActivityOptions.SetPendingIntentCreatorBackgroundActivityStartMode Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
the android.app.ComponentOptions.BackgroundActivityStartMode
being set
Returns
- Attributes
Remarks
Allow a PendingIntent
to use the privilege of its creator to start background activities.
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.