Notification.ForegroundServiceDefault フィールド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 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_DEFAULT", 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 ForegroundServiceDefault = 0;
[<Android.Runtime.Register("FOREGROUND_SERVICE_DEFAULT", 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 ForegroundServiceDefault : Android.App.NotificationForegroundService
フィールド値
Value = 0実装
- 属性
注釈
フォアグラウンド サービスの開始に関連付けられている通知がこの動作で Notification.Builder.setForegroundServiceBehavior(int) を使用してビルドされている場合、通常、通知の表示は、ユーザーに対する視覚的な乱れを避けるために短時間抑制されます。 値は次のいずれかです: FOREGROUND_SERVICE_DEFAULT FOREGROUND_SERVICE_IMMEDIATE FOREGROUND_SERVICE_DEFERRED
android.app.Notification.FOREGROUND_SERVICE_DEFAULTの Android リファレンス。
このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。