Udostępnij za pośrednictwem


ZenPolicy.PriorityCategoryMessages Property

Definition

Whether this policy wants to allow notifications with category Notification#CATEGORY_MESSAGE to play sounds and visually appear or to intercept them when DND is active.

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

Property Value

#STATE_UNSET, #STATE_ALLOW or #STATE_DISALLOW

Attributes

Remarks

Whether this policy wants to allow notifications with category Notification#CATEGORY_MESSAGE to play sounds and visually appear or to intercept them when DND is active. Types of message senders that are allowed are specified by #getPriorityMessageSenders.

Java documentation for android.service.notification.ZenPolicy.getPriorityCategoryMessages().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to