Vo2MaxRecord
class Vo2MaxRecord : Record
Capture user's VO2 max score and optionally the measurement method.
Summary
Public constructors |
|---|
Vo2MaxRecord( |
Public properties |
|
|---|---|
Int |
VO2 max measurement method. |
open Metadata |
Set of common metadata associated with the written record. |
open Instant |
Time the record happened. |
Double |
Maximal aerobic capacity (VO2 max) in milliliters. |
open ZoneOffset? |
User experienced zone offset at |
Constants
MEASUREMENT_METHOD_MULTISTAGE_FITNESS_TEST
const val MEASUREMENT_METHOD_MULTISTAGE_FITNESS_TEST = 4: Int
MEASUREMENT_METHOD_ROCKPORT_FITNESS_TEST
const val MEASUREMENT_METHOD_ROCKPORT_FITNESS_TEST = 5: Int
Public constructors
Vo2MaxRecord
Vo2MaxRecord(
time: Instant,
zoneOffset: ZoneOffset?,
metadata: Metadata,
vo2MillilitersPerMinuteKilogram: Double,
measurementMethod: Int = MEASUREMENT_METHOD_OTHER
)
Public functions
Public properties
measurementMethod
val measurementMethod: Int
VO2 max measurement method. Optional field. Allowed values: MeasurementMethod.
| See also | |
|---|---|
Vo2MaxRecord.MeasurementMethod |
vo2MillilitersPerMinuteKilogram
val vo2MillilitersPerMinuteKilogram: Double
Maximal aerobic capacity (VO2 max) in milliliters. Required field. Valid range: 0-100.
zoneOffset
open val zoneOffset: ZoneOffset?
User experienced zone offset at time, or null if unknown. Providing these will help history aggregations results stay consistent should user travel. Queries with user experienced time filters will assume system current zone offset if the information is absent.