MultiLightEffect.Builder.SetPreemptive(Boolean) 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.
Sets whether this effect will preempt any previous effect / state currently active on the light.
[Android.Runtime.Register("setPreemptive", "(Z)Landroid/hardware/lights/MultiLightEffect$Builder;", "", ApiSince=37)]
public Android.Hardware.Lights.MultiLightEffect.Builder SetPreemptive(bool preemptive);
[<Android.Runtime.Register("setPreemptive", "(Z)Landroid/hardware/lights/MultiLightEffect$Builder;", "", ApiSince=37)>]
member this.SetPreemptive : bool -> Android.Hardware.Lights.MultiLightEffect.Builder
Parameters
- preemptive
- Boolean
true to play immediately or false wait for the previous effect to finish.
Returns
- Attributes
Remarks
Sets whether this effect will preempt any previous effect / state currently active on the light.
By default, the builder sets this value to true and the effect is preemptive.
Android reference for android.hardware.lights.MultiLightEffect.Builder.setPreemptive.
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.