Lingua

MultiLightEffect.Builder.AddLightSequence(Light, ColorSequence) Method

Definition

Adds a new light and its corresponding sequence to the effect.

[Android.Runtime.Register("addLightSequence", "(Landroid/hardware/lights/Light;Landroid/hardware/lights/ColorSequence;)Landroid/hardware/lights/MultiLightEffect$Builder;", "", ApiSince=37)]
public Android.Hardware.Lights.MultiLightEffect.Builder AddLightSequence(Android.Hardware.Lights.Light light, Android.Hardware.Lights.ColorSequence colorSequence);
[<Android.Runtime.Register("addLightSequence", "(Landroid/hardware/lights/Light;Landroid/hardware/lights/ColorSequence;)Landroid/hardware/lights/MultiLightEffect$Builder;", "", ApiSince=37)>]
member this.AddLightSequence : Android.Hardware.Lights.Light * Android.Hardware.Lights.ColorSequence -> Android.Hardware.Lights.MultiLightEffect.Builder

Parameters

light
Light

the light that will play the sequence. This value cannot be null.

colorSequence
ColorSequence

the sequence of colors and their timing. This value cannot be null.

Returns

Attributes

Remarks

Adds a new light and its corresponding sequence to the effect.

Android reference for android.hardware.lights.MultiLightEffect.Builder.addLightSequence.

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