| java.lang.Object | ||
| ↳ | java.lang.Enum<E extends java.lang.Enum<E>> | |
| ↳ | com.datalogic.device.configuration.DoNotDisturbPolicy | |
Enum DoNotDisturbPolicy defines the policy for Do Not Disturb. It's used by
 property DO_NOT_DISTURB_POLICY.
| Enum Values | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| DoNotDisturbPolicy | OFF | Do not disturb is disabled, no notifications are suppressed. | |||||||||
| DoNotDisturbPolicy | SHOW_ALARMS | Do Not Disturb is enabled, all notifications are suppressed except Alarms. | |||||||||
| DoNotDisturbPolicy | SHOW_FILTERED | Do Not Disturb is enabled, it's the standard policy used by Android Settings. | |||||||||
| DoNotDisturbPolicy | SHOW_NONE | Do Not Disturb is enabled, all notifications are suppressed. | |||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Retrieves the corresponding DoNotDisturbPolicy value, from a valid integer. 
  
   | |||||||||||
Retrieves the corresponding int value. 
  
   | |||||||||||
| 
  [Expand]
   Inherited Methods  | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
   
From class
  java.lang.Enum
 | |||||||||||
   
From class
  java.lang.Object
 | |||||||||||
   
From interface
  java.lang.Comparable
 | |||||||||||
Do not disturb is disabled, no notifications are suppressed.
Do Not Disturb is enabled, all notifications are suppressed except Alarms.
Do Not Disturb is enabled, it's the standard policy used by Android Settings.
 All notifications are suppressed except those that are in the exclusion filter.
 The filter can be configured by Android Settings under Notification menu or by
 NotificationManager
 service.
Do Not Disturb is enabled, all notifications are suppressed.
Retrieves the corresponding DoNotDisturbPolicy value, from a valid integer.
| id | int | 
        
|---|