ZenPolicy.StateDisallow Field
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.
Caution
This constant will be removed in the future version. Use Android.Service.Notification.StateType enum directly instead of this field.
Indicates a type of sound or visual effect is not allowed to play/show when DND is active.
[Android.Runtime.Register("STATE_DISALLOW", ApiSince=29)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Service.Notification.StateType enum directly instead of this field.", true)]
public const Android.Service.Notification.StateType StateDisallow = 2;
[<Android.Runtime.Register("STATE_DISALLOW", ApiSince=29)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Service.Notification.StateType enum directly instead of this field.", true)>]
val mutable StateDisallow : Android.Service.Notification.StateType
Field Value
Value = 2Implements
- Attributes
Remarks
Indicates a type of sound or visual effect is not allowed to play/show when DND is active.
Java documentation for android.service.notification.ZenPolicy.STATE_DISALLOW
.
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.