Language

Service.StopForegroundDetach フィールド

定義

注意事項

This constant will be removed in the future version. Use Android.App.StopForegroundFlags enum directly instead of this field.

#stopForeground(int)のセレクター: 設定されている場合、以前に#startForegroundに指定された通知はサービスのライフサイクルからデタッチされます。

[Android.Runtime.Register("STOP_FOREGROUND_DETACH", ApiSince=24)]
[System.Obsolete("This constant will be removed in the future version. Use Android.App.StopForegroundFlags enum directly instead of this field.", true)]
public const Android.App.StopForegroundFlags StopForegroundDetach = 2;
[<Android.Runtime.Register("STOP_FOREGROUND_DETACH", ApiSince=24)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.App.StopForegroundFlags enum directly instead of this field.", true)>]
val mutable StopForegroundDetach : Android.App.StopForegroundFlags

フィールド値

Value = 2
属性

注釈

stopForeground(int) のセレクター: 設定されている場合、startForeground(int, Notification) に以前に指定された通知はサービスのライフサイクルからデタッチされます。 通知は、サービスが停止および破棄された後も表示されます。

android.app.Service.STOP_FOREGROUND_DETACHの Android リファレンス。

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

適用対象