LightsManager.OpenSession 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.
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.