StateListDrawable.GetStateSet(Int32) Method

Definition

Gets the state set at an index.

[Android.Runtime.Register("getStateSet", "(I)[I", "GetGetStateSet_IHandler", ApiSince=29)]
public virtual int[] GetStateSet (int index);
[<Android.Runtime.Register("getStateSet", "(I)[I", "GetGetStateSet_IHandler", ApiSince=29)>]
abstract member GetStateSet : int -> int[]
override this.GetStateSet : int -> int[]

Parameters

index
Int32

The index of the state set.

Returns

Int32[]

The state set at the index.

Attributes

Remarks

Gets the state set at an index.

Java documentation for android.graphics.drawable.StateListDrawable.getStateSet(int).

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