Service.StopForegroundRemove 欄位
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
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_REMOVE", 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 StopForegroundRemove = 1;
[<Android.Runtime.Register("STOP_FOREGROUND_REMOVE", 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 StopForegroundRemove : Android.App.StopForegroundFlags
欄位值
Value = 1- 屬性
備註
stopForeground(int) 選擇器:若提供,先前提供給 startForeground(int, 通知)的通知將被取消並從顯示中移除。
Android 參考資料。android.app.Service.STOP_FOREGROUND_REMOVE
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。