Vo2MaxRecord
public final class Vo2MaxRecord implements Record
Capture user's VO2 max score and optionally the measurement method.
Summary
Constants |
|
|---|---|
static final int |
|
static final int |
|
static final int |
|
static final int |
|
static final int |
|
static final int |
Public constructors |
|---|
Vo2MaxRecord( |
Public methods |
|
|---|---|
boolean |
|
final int |
VO2 max measurement method. |
@NonNull Metadata |
Set of common metadata associated with the written record. |
@NonNull Instant |
getTime()Time the record happened. |
final double |
Maximal aerobic capacity (VO2 max) in milliliters. |
ZoneOffset |
User experienced zone offset at |
int |
hashCode() |
@NonNull String |
toString() |
Constants
MEASUREMENT_METHOD_MULTISTAGE_FITNESS_TEST
public static final int MEASUREMENT_METHOD_MULTISTAGE_FITNESS_TEST = 4
MEASUREMENT_METHOD_ROCKPORT_FITNESS_TEST
public static final int MEASUREMENT_METHOD_ROCKPORT_FITNESS_TEST = 5
Public constructors
Vo2MaxRecord
public Vo2MaxRecord(
@NonNull Instant time,
ZoneOffset zoneOffset,
@NonNull Metadata metadata,
double vo2MillilitersPerMinuteKilogram,
int measurementMethod
)
Public methods
getMeasurementMethod
public final int getMeasurementMethod()
VO2 max measurement method. Optional field. Allowed values: MeasurementMethod.
| See also | |
|---|---|
Vo2MaxRecord.MeasurementMethod |
getMetadata
public @NonNull Metadata getMetadata()
Set of common metadata associated with the written record.
getVo2MillilitersPerMinuteKilogram
public final double getVo2MillilitersPerMinuteKilogram()
Maximal aerobic capacity (VO2 max) in milliliters. Required field. Valid range: 0-100.
getZoneOffset
public ZoneOffset getZoneOffset()
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.