Dil

ConditionSource Enum

Definition

public enum ConditionSource
type ConditionSource = 
Inheritance
ConditionSource

Fields

Name Value Description
Unknown 0

The state is changing due to an unknown reason.

Android reference for android.service.notification.Condition.SOURCE_UNKNOWN.

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.

UserAction 1

The state is changing due to an explicit user action.

Android reference for android.service.notification.Condition.SOURCE_USER_ACTION.

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.

Schedule 2

The state is changing due to an automatic schedule (alarm, set time, etc).

Android reference for android.service.notification.Condition.SOURCE_SCHEDULE.

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.

Context 3

The state is changing due to a change in context (such as detected driving or sleeping).

Android reference for android.service.notification.Condition.SOURCE_CONTEXT.

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