Language

ColorSequence.GetColors Method

Definition

Returns the sequence of colors defined in this light effect.

[Android.Runtime.Register("getColors", "()[I", "", ApiSince=37)]
public int[] GetColors();
[<Android.Runtime.Register("getColors", "()[I", "", ApiSince=37)>]
member this.GetColors : unit -> int[]

Returns

Int32[]

Array of colors that will be played for this effect.

Attributes

Remarks

Returns the sequence of colors defined in this light effect.

Android reference for android.hardware.lights.ColorSequence.getColors.

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