Vo2MaxRecord
public
final
class
Vo2MaxRecord
extends InstantRecord
| java.lang.Object | |||
| ↳ | android.health.connect.datatypes.Record | ||
| ↳ | android.health.connect.datatypes.InstantRecord | ||
| ↳ | android.health.connect.datatypes.Vo2MaxRecord | ||
Capture user's VO2 max score and optionally the measurement method.
Summary
Nested classes | |
|---|---|
class |
Vo2MaxRecord.Builder
Builder class for |
class |
Vo2MaxRecord.Vo2MaxMeasurementMethod
Identifier for V02 max measurement method |
Public methods | |
|---|---|
boolean
|
equals(Object o)
Indicates whether some other object is "equal to" this one. |
int
|
getMeasurementMethod()
|
double
|
getVo2MillilitersPerMinuteKilogram()
|
int
|
hashCode()
Returns a hash code value for the object. |
Inherited methods | |
|---|---|
Public methods
equals
Added in API level 34
public boolean equals (Object o)
Indicates whether some other object is "equal to" this one.
| Parameters | |
|---|---|
o |
Object: the reference object with which to compare.
This value may be null. |
| Returns | |
|---|---|
boolean |
true if this object is the same as the obj |
getMeasurementMethod
public int getMeasurementMethod ()
getVo2MillilitersPerMinuteKilogram
public double getVo2MillilitersPerMinuteKilogram ()
| Returns | |
|---|---|
double |
vo2MillilitersPerMinuteKilogram |
hashCode
Added in API level 34
public int hashCode ()
Returns a hash code value for the object.
| Returns | |
|---|---|
int |
a hash code value for this object. |