語言

ZenPolicy.Builder.AllowSystem(Boolean) 方法

定義

是否允許在DND啟動時播放系統音效。

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

參數

allow
Boolean

傳回

屬性

備註

是否允許在DND啟動時播放系統音效。 當DND啟動時,取消系統音效會讓系統串流靜音。

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

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

適用於