ActivityOptions.SetPendingIntentCreatorBackgroundActivityStartMode メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
を PendingIntent
使用して、作成者の特権を使用してバックグラウンド アクティビティを開始できるようにします。
[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
パラメーター
設定 android.app.ComponentOptions.BackgroundActivityStartMode
されている
戻り値
- 属性
注釈
を PendingIntent
使用して、作成者の特権を使用してバックグラウンド アクティビティを開始できるようにします。
の android.app.ActivityOptions.setPendingIntentCreatorBackgroundActivityStartMode(int)
Java ドキュメント。
このページの一部は、によって作成および共有された作業に基づく変更であり、に記載されている条件に従って使用されます。