Share via


LightsManager.LightsSession.RequestLights(LightsRequest) Method

Definition

Sends a request to modify the states of multiple lights.

[Android.Runtime.Register("requestLights", "(Landroid/hardware/lights/LightsRequest;)V", "GetRequestLights_Landroid_hardware_lights_LightsRequest_Handler", ApiSince=31)]
public abstract void RequestLights (Android.Hardware.Lights.LightsRequest request);
[<Android.Runtime.Register("requestLights", "(Landroid/hardware/lights/LightsRequest;)V", "GetRequestLights_Landroid_hardware_lights_LightsRequest_Handler", ApiSince=31)>]
abstract member RequestLights : Android.Hardware.Lights.LightsRequest -> unit

Parameters

request
LightsRequest

the settings for lights that should change

Attributes

Remarks

Sends a request to modify the states of multiple lights.

Java documentation for android.hardware.lights.LightsManager.LightsSession.requestLights(android.hardware.lights.LightsRequest).

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