Share via


LightsManager.OpenSession Method

Definition

Creates a new LightsSession that can be used to control the device lights.

[Android.Runtime.Register("openSession", "()Landroid/hardware/lights/LightsManager$LightsSession;", "GetOpenSessionHandler", ApiSince=31)]
public abstract Android.Hardware.Lights.LightsManager.LightsSession OpenSession ();
[<Android.Runtime.Register("openSession", "()Landroid/hardware/lights/LightsManager$LightsSession;", "GetOpenSessionHandler", ApiSince=31)>]
abstract member OpenSession : unit -> Android.Hardware.Lights.LightsManager.LightsSession

Returns

Attributes

Remarks

Java documentation for android.hardware.lights.LightsManager.openSession().

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