ActivityOptions.ModeBackgroundActivityStartAllowIfVisible フィールド

定義

注意事項

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_ALLOW_IF_VISIBLE", ApiSince=36)]
[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 ModeBackgroundActivityStartAllowIfVisible = 4;
[<Android.Runtime.Register("MODE_BACKGROUND_ACTIVITY_START_ALLOW_IF_VISIBLE", ApiSince=36)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.App.BackgroundActivityStartMode enum directly instead of this field.", true)>]
val mutable ModeBackgroundActivityStartAllowIfVisible : Android.App.BackgroundActivityStartMode

フィールド値

Value = 4
属性

注釈

PendingIntent バックグラウンド アクティビティの開始特権は、アプリに表示されるウィンドウがある場合にのみ付与されます (つまり、ユーザーに表示されます)。 これは、ユーザー エクスペリエンスの中断を最小限に抑えるために、ほとんどのアプリに推奨されるモードです。 バックグラウンド アクティビティの開始制限の詳細については、「バックグラウンドからのアクティビティの開始に関する制限事項」を参照してください。

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

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

適用対象