Język

AmbientBacklightEventType Enum

Definition

Identifies an ambient backlight state change or the availability of backlight metadata.

public enum AmbientBacklightEventType
type AmbientBacklightEventType = 
Inheritance
AmbientBacklightEventType

Fields

Name Value Description
Enabled 1

Event type for ambient backlight events. The ambient backlight is enabled.

Android reference for android.media.quality.AmbientBacklightEvent.AMBIENT_BACKLIGHT_EVENT_ENABLED.

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.

Disabled 2

Event type for ambient backlight events. The ambient backlight is disabled.

Android reference for android.media.quality.AmbientBacklightEvent.AMBIENT_BACKLIGHT_EVENT_DISABLED.

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.

MetadataAvailable 3

Event type for ambient backlight events. The ambient backlight metadata is available.

Android reference for android.media.quality.AmbientBacklightEvent.AMBIENT_BACKLIGHT_EVENT_METADATA_AVAILABLE.

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.

Interrupted 4

Event type for ambient backlight events. The ambient backlight event is preempted by another application.

Android reference for android.media.quality.AmbientBacklightEvent.AMBIENT_BACKLIGHT_EVENT_INTERRUPTED.

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.

Remarks

EventType uses these values to distinguish enabled, disabled, metadata-available, and interrupted events.

These values correspond to the AMBIENT_BACKLIGHT_EVENT_* constants in the Android event implementation.

Applies to