UiMode Enum

Definition

Enumerates values returned by several types.

public enum UiMode
type UiMode = 
Inheritance
UiMode

Fields

Name Value Description
NightUndefined 0

Constant for UiMode: a UiModeNightMaskvalue indicating that no mode type has been set.

TypeUndefined 0

Constant for UiMode: a UiModeTypeMaskvalue indicating that no mode type has been set.

TypeNormal 1
TypeDesk 2
TypeCar 3
TypeTelevision 4
TypeAppliance 5
TypeWatch 6
TypeVrHeadset 7
TypeMask 15

Constant for UiMode: bits that encode the mode type.

NightNo 16
NightYes 32
NightMask 48

Constant for UiMode: bits that encode the night mode.

Remarks

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