Partager via


HealthStats.GetStatsKeyAt(Int32) Method

Definition

Get the key for the timer at the given index.

[Android.Runtime.Register("getStatsKeyAt", "(I)I", "GetGetStatsKeyAt_IHandler", ApiSince=24)]
public virtual int GetStatsKeyAt (int index);
[<Android.Runtime.Register("getStatsKeyAt", "(I)I", "GetGetStatsKeyAt_IHandler", ApiSince=24)>]
abstract member GetStatsKeyAt : int -> int
override this.GetStatsKeyAt : int -> int

Parameters

index
Int32

Returns

Attributes

Remarks

Get the key for the timer at the given index. Index must be between 0 and the result of #getStatsKeyCount getStatsKeyCount().

Java documentation for android.os.health.HealthStats.getStatsKeyAt(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