NotificationChannel.SetBypassDnd(Boolean) Method
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.
Sets whether or not notifications posted to this channel can interrupt the user in
android.app.NotificationManager.Policy#INTERRUPTION_FILTER_PRIORITY
mode.
[Android.Runtime.Register("setBypassDnd", "(Z)V", "", ApiSince=26)]
public void SetBypassDnd (bool bypassDnd);
[<Android.Runtime.Register("setBypassDnd", "(Z)V", "", ApiSince=26)>]
member this.SetBypassDnd : bool -> unit
Parameters
- bypassDnd
- Boolean
- Attributes
Remarks
Sets whether or not notifications posted to this channel can interrupt the user in android.app.NotificationManager.Policy#INTERRUPTION_FILTER_PRIORITY
mode.
Only modifiable by the system and notification ranker.
Java documentation for android.app.NotificationChannel.setBypassDnd(boolean)
.
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.