LightsManager.GetLightState(Light) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
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.