StateType Enum
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.
Specifies whether a Do Not Disturb policy allows a sound or visual effect.
public enum StateType
type StateType =
- Inheritance
-
StateType
Fields
| Name | Value | Description |
|---|---|---|
| Unset | 0 | Indicates no preference for whether a type of sound or visual effect is or isn't allowed to play/show when DND is active. Will default to the current set policy. Android reference for 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. |
| Allow | 1 | Indicates a type of sound or visual effect is allowed to play/show when DND is active. Android reference for 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. |
| Disallow | 2 | Indicates a type of sound or visual effect is not allowed to play/show when DND is active. Android reference for 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. |
Remarks
An unset state leaves that setting to the current policy.