다음을 통해 공유


NotificationChannel.CanBypassDnd Method

Definition

Whether or not notifications posted to this channel can bypass the Do Not Disturb NotificationManager#INTERRUPTION_FILTER_PRIORITY mode.

[Android.Runtime.Register("canBypassDnd", "()Z", "", ApiSince=26)]
public bool CanBypassDnd ();
[<Android.Runtime.Register("canBypassDnd", "()Z", "", ApiSince=26)>]
member this.CanBypassDnd : unit -> bool

Returns

Attributes

Remarks

Whether or not notifications posted to this channel can bypass the Do Not Disturb NotificationManager#INTERRUPTION_FILTER_PRIORITY mode.

Java documentation for android.app.NotificationChannel.canBypassDnd().

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