Share via


HealthStats.GetMeasurement(Int32) Method

Definition

Get the measurement for the given key.

[Android.Runtime.Register("getMeasurement", "(I)J", "GetGetMeasurement_IHandler", ApiSince=24)]
public virtual long GetMeasurement (int key);
[<Android.Runtime.Register("getMeasurement", "(I)J", "GetGetMeasurement_IHandler", ApiSince=24)>]
abstract member GetMeasurement : int -> int64
override this.GetMeasurement : int -> int64

Parameters

key
Int32

Returns

Attributes

Remarks

Get the measurement for the given key.

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