Language

ActivityOptions.PendingIntentBackgroundActivityLaunchAllowed プロパティ

定義

Get PendingIntent アクティビティは、呼び出し元がバックグラウンド アクティビティを開始できる場合、バックグラウンドで開始できます。 または、呼び出し元がバックグラウンド アクティビティを開始できる場合は、Set PendingIntent アクティビティをバックグラウンドで開始できます。

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

プロパティ値

属性

注釈

このメソッドは、API レベル 34 では非推奨になりました。 Build.VERSION_CODESを対象とするアプリの場合は getPendingIntentBackgroundActivityStartMode() を使用します。UPSIDE_DOWN_CAKE以上の値が明示的に設定されていない場合、この値は実際の動作と一致しない可能性があります。

Get PendingIntent アクティビティは、呼び出し元がバックグラウンド アクティビティを開始できる場合、バックグラウンドで開始できます。

android.app.ActivityOptions.isPendingIntentBackgroundActivityLaunchAllowedの Android リファレンス。

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象