Language

AudienceType Enum

Definition

public enum AudienceType
type AudienceType = 
Inheritance
AudienceType

Fields

Name Value Description
Unset 0

Used to indicate no preference for the type of people that can bypass dnd for either calls or messages.

Android reference for android.service.notification.ZenPolicy.PEOPLE_TYPE_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.

Anyone 1

Used to indicate all calls or messages can bypass dnd.

Android reference for android.service.notification.ZenPolicy.PEOPLE_TYPE_ANYONE.

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.

Contacts 2

Used to indicate calls or messages from contacts can bypass dnd.

Android reference for android.service.notification.ZenPolicy.PEOPLE_TYPE_CONTACTS.

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.

Starred 3

Used to indicate calls or messages from starred contacts can bypass dnd.

Android reference for android.service.notification.ZenPolicy.PEOPLE_TYPE_STARRED.

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.

None 4

Used to indicate no calls or messages can bypass dnd.

Android reference for android.service.notification.ZenPolicy.PEOPLE_TYPE_NONE.

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