次の方法で共有


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 android.app.ComponentOptions.BackgroundActivityStartMode being set

Returns

Attributes

Remarks

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

Java documentation for android.app.ActivityOptions.setPendingIntentCreatorBackgroundActivityStartMode(int).

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