Lenguaje

ZenPolicy.Builder.AllowEvents(Boolean) Método

Definición

Si se permiten notificaciones con Notification.CATEGORY_EVENT de categoría para reproducir sonidos y aparecer visualmente o interceptarlos cuando DND está activo.

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

Parámetros

allow
Boolean

Devoluciones

Atributos

Comentarios

Si se permiten notificaciones con Notification.CATEGORY_EVENT de categoría para reproducir sonidos y aparecer visualmente o interceptarlos cuando DND está activo.

Referencia de Android para android.service.notification.ZenPolicy.Builder.allowEvents.

Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el Android y se usan según los términos descritos en creative Creative Commons 2.5 Attribution License.

Se aplica a