Lingua

ColorMode Enum

Definition

Describes the color capabilities of a screen.

public enum ColorMode
type ColorMode = 
Inheritance
ColorMode

Fields

Name Value Description
HdrUndefined 0

Indicates that whether the screen supports high dynamic range is unknown.

Undefined 0

Indicates that the color mode is undefined.

WideColorGamutUndefined 0

Indicates that whether the screen has a wide color gamut is unknown.

WideColorGamutNo 1

Indicates that the screen does not have a wide color gamut.

HdrShift 2

Bit shift used to obtain the screen dynamic range.

WideColorGamutYes 2

Indicates that the screen has a wide color gamut.

WideColorGamutMask 3

Bits that encode whether the screen has a wide color gamut.

HdrNo 4

Indicates that the screen does not support high dynamic range and uses low or standard dynamic range.

HdrYes 8

Indicates that the screen supports high dynamic range.

HdrMask 12

Bits that encode the screen's dynamic range.

Remarks

Android platform documentation for android.content.res.Configuration.

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