Added in API level 31

android.hardware.lights

Classes

Light Represents a logical light on the device. 
LightsManager The LightsManager class allows control over device lights. 
LightsManager.LightsSession Encapsulates a session that can be used to control device lights and represents the lifetime of the requests. 
LightsRequest Encapsulates a request to modify the state of multiple lights. 
LightsRequest.Builder Builder for creating device light change requests. 
LightState Represents the state of a device light. 
LightState.Builder Builder for creating device light change requests.