Dil

StateType Enum

Definition

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 android.service.notification.ZenPolicy.STATE_UNSET.

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 android.service.notification.ZenPolicy.STATE_ALLOW.

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 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.

Applies to