다음을 통해 공유


LightState.Builder.Build Method

Definition

Create a LightState object used to control lights on the device.

[Android.Runtime.Register("build", "()Landroid/hardware/lights/LightState;", "", ApiSince=31)]
public Android.Hardware.Lights.LightState Build ();
[<Android.Runtime.Register("build", "()Landroid/hardware/lights/LightState;", "", ApiSince=31)>]
member this.Build : unit -> Android.Hardware.Lights.LightState

Returns

Attributes

Remarks

Create a LightState object used to control lights on the device.

The generated LightState should be used in LightsRequest.Builder#addLight(Light, LightState).

Java documentation for android.hardware.lights.LightState.Builder.build().

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