Share via


InputDevice.LightsManager Property

Definition

Gets the lights manager associated with the device, if there is one.

public Android.Hardware.Lights.LightsManager LightsManager { [Android.Runtime.Register("getLightsManager", "()Landroid/hardware/lights/LightsManager;", "", ApiSince=31)] get; }
[<get: Android.Runtime.Register("getLightsManager", "()Landroid/hardware/lights/LightsManager;", "", ApiSince=31)>]
member this.LightsManager : Android.Hardware.Lights.LightsManager

Property Value

The lights manager associated with the device, never null.

Attributes

Remarks

Gets the lights manager associated with the device, if there is one. Even if the device does not have lights, the result is never null. Use LightsManager#getLights to determine whether any lights is present.

Java documentation for android.view.InputDevice.getLightsManager().

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