語言

ZenPolicy.Builder.AllowReminders(Boolean) 方法

定義

是允許帶有類別Notification.CATEGORY_REMINDER的通知播放聲音並視覺化顯示,還是在DND啟動時攔截它們。

[Android.Runtime.Register("allowReminders", "(Z)Landroid/service/notification/ZenPolicy$Builder;", "", ApiSince=29)]
public Android.Service.Notification.ZenPolicy.Builder AllowReminders(bool allow);
[<Android.Runtime.Register("allowReminders", "(Z)Landroid/service/notification/ZenPolicy$Builder;", "", ApiSince=29)>]
member this.AllowReminders : bool -> Android.Service.Notification.ZenPolicy.Builder

參數

allow
Boolean

傳回

屬性

備註

是允許帶有類別Notification.CATEGORY_REMINDER的通知播放聲音並視覺化顯示,還是在DND啟動時攔截它們。

Android 參考資料。android.service.notification.ZenPolicy.Builder.allowReminders

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於