ActivityOptions.ModeBackgroundActivityStartAllowed フィールド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
注意事項
This constant will be removed in the future version. Use Android.App.BackgroundActivityStartMode enum directly instead of this field.
PendingIntentバックグラウンド アクティビティの開始特権を付与します。
[Android.Runtime.Register("MODE_BACKGROUND_ACTIVITY_START_ALLOWED", ApiSince=34)]
[System.Obsolete("This constant will be removed in the future version. Use Android.App.BackgroundActivityStartMode enum directly instead of this field.", true)]
public const Android.App.BackgroundActivityStartMode ModeBackgroundActivityStartAllowed = 1;
[Android.Runtime.Register("MODE_BACKGROUND_ACTIVITY_START_ALLOWED", ApiSince=34)]
public const Android.App.BackgroundActivityStartMode ModeBackgroundActivityStartAllowed = 1;
[<Android.Runtime.Register("MODE_BACKGROUND_ACTIVITY_START_ALLOWED", ApiSince=34)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.App.BackgroundActivityStartMode enum directly instead of this field.", true)>]
val mutable ModeBackgroundActivityStartAllowed : Android.App.BackgroundActivityStartMode
[<Android.Runtime.Register("MODE_BACKGROUND_ACTIVITY_START_ALLOWED", ApiSince=34)>]
val mutable ModeBackgroundActivityStartAllowed : Android.App.BackgroundActivityStartMode
フィールド値
Value = 1- 属性
注釈
PendingIntentバックグラウンド アクティビティの開始特権を付与します。
これは #MODE_BACKGROUND_ACTIVITY_START_ALLOW_ALWAYSと同じように動作しますが、特権アクセス許可 START_ACTIVITIES_FROM_BACKGROUNDに基づいてバックグラウンド アクティビティの起動アクセス許可が付与されない点が異なります。
このメンバーは非推奨です。
#MODE_BACKGROUND_ACTIVITY_START_ALLOW_IF_VISIBLEを使用して、アプリが表示されている場合にのみ開始を許可するか、いつでも開始を許可する#MODE_BACKGROUND_ACTIVITY_START_ALLOW_ALWAYSします (「バックグラウンドからのアクティビティの開始に関する制限」を参照してください)。
このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。