ZenPolicy.PriorityChannelsAllowed Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Whether this policy allows NotificationChannel channels
marked as
NotificationChannel#canBypassDnd()
to bypass 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
Property Value
- Attributes
Remarks
Whether this policy allows NotificationChannel channels
marked as NotificationChannel#canBypassDnd()
to bypass DND. If #STATE_ALLOW
, these channels may bypass; if #STATE_DISALLOW
, then even notifications from channels with NotificationChannel#canBypassDnd()
will be intercepted.
Java documentation for android.service.notification.ZenPolicy.getPriorityChannelsAllowed()
.
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.