Langue

ZenPolicy.PriorityChannelsAllowed Propriété

Définition

Indique si cette stratégie permet NotificationChannel channels de NotificationChannel#canBypassDnd() contourner le DND.

public Android.Service.Notification.StateType PriorityChannelsAllowed { [Android.Runtime.Register("getPriorityChannelsAllowed", "()I", "", ApiSince=35)] get; }
[<get: Android.Runtime.Register("getPriorityChannelsAllowed", "()I", "", ApiSince=35)>]
member this.PriorityChannelsAllowed : Android.Service.Notification.StateType

Valeur de propriété

La valeur est l’une des valeurs suivantes : STATE_UNSET ; STATE_ALLOW ; STATE_DISALLOW

Attributs

Remarques

Indique si cette stratégie permet NotificationChannel channels de NotificationChannel#canBypassDnd() contourner le DND. Si #STATE_ALLOW, ces canaux peuvent contourner ; si #STATE_DISALLOW, même les notifications provenant de canaux avec NotificationChannel#canBypassDnd() devront être interceptées.

Java documentation pour android.service.notification.ZenPolicy.getPriorityChannelsAllowed().

Les parties de cette page sont des modifications basées sur le travail créé et partagé par Android Open Source et utilisées en fonction des termes décrits dans la Creative Commons 2.5 Attribution License.

S’applique à