Notification.ForegroundServiceImmediate フィールド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
注意事項
This constant will be removed in the future version. Use Android.App.NotificationForegroundService enum directly instead of this field.
この動作で Notification.Builder.setForegroundServiceBehavior(int) を使用してフォアグラウンド サービスの開始に関連付けられている通知がビルドされている場合、既定の動作が短時間の可視性を延期する場合でも、通知の表示はすぐに行われます。
[Android.Runtime.Register("FOREGROUND_SERVICE_IMMEDIATE", ApiSince=31)]
[System.Obsolete("This constant will be removed in the future version. Use Android.App.NotificationForegroundService enum directly instead of this field.", true)]
public const Android.App.NotificationForegroundService ForegroundServiceImmediate = 1;
[<Android.Runtime.Register("FOREGROUND_SERVICE_IMMEDIATE", ApiSince=31)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.App.NotificationForegroundService enum directly instead of this field.", true)>]
val mutable ForegroundServiceImmediate : Android.App.NotificationForegroundService
フィールド値
Value = 1実装
- 属性
注釈
この動作で Notification.Builder.setForegroundServiceBehavior(int) を使用してフォアグラウンド サービスの開始に関連付けられている通知がビルドされている場合、既定の動作が短時間の可視性を延期する場合でも、通知の表示はすぐに行われます。 値は次のいずれかです: FOREGROUND_SERVICE_DEFAULT FOREGROUND_SERVICE_IMMEDIATE FOREGROUND_SERVICE_DEFERRED
android.app.Notification.FOREGROUND_SERVICE_IMMEDIATEの Android リファレンス。
このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。