Udostępnij za pośrednictwem


ZenPolicy.PriorityCategoryConversations Property

Definition

Whether this policy wants to allow conversation notifications (see NotificationChannel#getConversationId()) to play sounds and visually appear or to intercept them when DND is active.

public int PriorityCategoryConversations { [Android.Runtime.Register("getPriorityCategoryConversations", "()I", "", ApiSince=30)] get; }
[<get: Android.Runtime.Register("getPriorityCategoryConversations", "()I", "", ApiSince=30)>]
member this.PriorityCategoryConversations : int

Property Value

#STATE_UNSET, #STATE_ALLOW or #STATE_DISALLOW

Attributes

Remarks

Whether this policy wants to allow conversation notifications (see NotificationChannel#getConversationId()) to play sounds and visually appear or to intercept them when DND is active.

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

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