Package: android.hardware.light@2.0

ILight

interface ILight

Methods

setLight

setLight (Type type, LightState state)
generates (Status status)

Set the provided lights to the provided values.

Details
Parameters
type
logical light to set
state
describes what the light should look like.
Generates
status
result of applying state transformation.

getSupportedTypes

getSupportedTypes ()
generates (vec<Type> types)

Discover what indicator lights are available.

Details
Generates
types
list of available lights