次の方法で共有


LightsRequest.Builder.Build Method

Definition

Create a LightsRequest object used to override lights on the device.

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

Returns

Attributes

Remarks

Create a LightsRequest object used to override lights on the device.

The generated LightsRequest should be used in LightsManager.Session#requestLights(LightsLightsRequest).

Java documentation for android.hardware.lights.LightsRequest.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