Udostępnij za pośrednictwem


LightsManager.GetLightState(Light) Method

Definition

Returns the state of a specified light.

[Android.Runtime.Register("getLightState", "(Landroid/hardware/lights/Light;)Landroid/hardware/lights/LightState;", "GetGetLightState_Landroid_hardware_lights_Light_Handler", ApiSince=31)]
public abstract Android.Hardware.Lights.LightState GetLightState (Android.Hardware.Lights.Light light);
[<Android.Runtime.Register("getLightState", "(Landroid/hardware/lights/Light;)Landroid/hardware/lights/LightState;", "GetGetLightState_Landroid_hardware_lights_Light_Handler", ApiSince=31)>]
abstract member GetLightState : Android.Hardware.Lights.Light -> Android.Hardware.Lights.LightState

Parameters

light
Light

Returns

Attributes

Remarks

Returns the state of a specified light.

Java documentation for android.hardware.lights.LightsManager.getLightState(android.hardware.lights.Light).

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