語言

StateListDrawable.GetStateSet(Int32) 方法

定義

讓狀態設定在索引上。

[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[]

參數

index
Int32

狀態集合的索引。

傳回

Int32[]

在索引處設定的狀態。

屬性

備註

讓狀態設定在索引上。

Java 文件 android.graphics.drawable.StateListDrawable.getStateSet(int)。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於