Added in API level 34
Vo2MaxRecord
class Vo2MaxRecord : InstantRecord
| kotlin.Any | |||
| ↳ | 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 | |
|---|---|
|
Builder class for |
|
|
Identifier for V02 max measurement method |
|
| Public methods | |
|---|---|
| Boolean |
Indicates whether some other object is "equal to" this one. |
| Int | |
| Double | |
| Int |
hashCode()Returns a hash code value for the object. |
| Inherited functions | |
|---|---|
Public methods
equals
Added in API level 34
fun equals(other: Any?): Boolean
Indicates whether some other object is "equal to" this one.
| Parameters | |
|---|---|
obj |
the reference object with which to compare. |
object |
the reference object with which to compare. This value may be null. |
o |
the reference object with which to compare. This value may be null. |
| Return | |
|---|---|
Boolean |
true if this object is the same as the obj |
getMeasurementMethod
Added in API level 34
fun getMeasurementMethod(): Int
getVo2MillilitersPerMinuteKilogram
Added in API level 34
fun getVo2MillilitersPerMinuteKilogram(): Double
| Return | |
|---|---|
Double |
vo2MillilitersPerMinuteKilogram |
hashCode
Added in API level 34
fun hashCode(): Int
Returns a hash code value for the object.
| Return | |
|---|---|
Int |
a hash code value for this object. |