语言

ZenPolicy.Builder.AllowRepeatCallers(Boolean) 方法

定义

是否允许重复呼叫者(包含最近调用的类别Notification.CATEGORY_CALL的通知)播放声音和视觉显示。

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

参数

allow
Boolean

返回

特性

注解

是否允许重复呼叫者(包含最近调用的类别Notification.CATEGORY_CALL的通知)播放声音和视觉显示。

Android 参考。android.service.notification.ZenPolicy.Builder.allowRepeatCallers

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于