NotificationManager.CurrentInterruptionFilter 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得目前的通知中斷過濾器。
public Android.App.InterruptionFilter CurrentInterruptionFilter { [Android.Runtime.Register("getCurrentInterruptionFilter", "()I", "", ApiSince=23)] get; }
[<get: Android.Runtime.Register("getCurrentInterruptionFilter", "()I", "", ApiSince=23)>]
member this.CurrentInterruptionFilter : Android.App.InterruptionFilter
屬性值
價值是以下之一:INTERRUPTION_FILTER_NONE INTERRUPTION_FILTER_PRIORITY INTERRUPTION_FILTER_ALARMS INTERRUPTION_FILTER_ALL INTERRUPTION_FILTER_UNKNOWN
- 屬性
備註
取得目前的通知中斷過濾器。 中斷過濾器定義哪些通知可以打斷使用者(例如聲音和震動),並且是全域套用的。
Android 參考資料。android.app.NotificationManager.getCurrentInterruptionFilter
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。