Notification.FlagPromotedOngoing 欄位
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
This constant will be removed in the future version. Use Android.App.NotificationFlags enum directly instead of this field.
如果此通知是推廣的持續通知,系統應該設定的旗標欄位中,會被位元順序 OR化,因為它有PromotableCharacteristics() 且使用者尚未關閉該應用程式的功能。
[Android.Runtime.Register("FLAG_PROMOTED_ONGOING", ApiSince=36)]
[System.Obsolete("This constant will be removed in the future version. Use Android.App.NotificationFlags enum directly instead of this field.", true)]
public const Android.App.NotificationFlags FlagPromotedOngoing = 262144;
[<Android.Runtime.Register("FLAG_PROMOTED_ONGOING", ApiSince=36)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.App.NotificationFlags enum directly instead of this field.", true)>]
val mutable FlagPromotedOngoing : Android.App.NotificationFlags
欄位值
Value = 262144實作
- 屬性
備註
如果此通知是推廣的持續通知,系統應該設定的旗標欄位中,會被位元順序 OR化,因為它有PromotableCharacteristics() 且使用者尚未關閉該應用程式的功能。 應用程式無法直接設定此標誌,但發文應用程式與 NotificationListenerService 可以讀取此標記。
Android 參考資料。android.app.Notification.FLAG_PROMOTED_ONGOING
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。