class Vo2MaxRecord : Record


Capture user's VO2 max score and optionally the measurement method.

Summary

Public constructors

Vo2MaxRecord(
    time: Instant,
    zoneOffset: ZoneOffset?,
    vo2MillilitersPerMinuteKilogram: Double,
    measurementMethod: Int,
    metadata: Metadata
)

Public functions

open operator Boolean
equals(other: Any?)
open Int
open String

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 time, or null if unknown.

Constants

MEASUREMENT_METHOD_COOPER_TEST

const val MEASUREMENT_METHOD_COOPER_TEST = 3: Int

MEASUREMENT_METHOD_HEART_RATE_RATIO

const val MEASUREMENT_METHOD_HEART_RATE_RATIO = 2: Int

MEASUREMENT_METHOD_METABOLIC_CART

const val MEASUREMENT_METHOD_METABOLIC_CART = 1: Int

MEASUREMENT_METHOD_MULTISTAGE_FITNESS_TEST

const val MEASUREMENT_METHOD_MULTISTAGE_FITNESS_TEST = 4: Int

MEASUREMENT_METHOD_OTHER

const val MEASUREMENT_METHOD_OTHER = 0: Int

MEASUREMENT_METHOD_ROCKPORT_FITNESS_TEST

const val MEASUREMENT_METHOD_ROCKPORT_FITNESS_TEST = 5: Int

Public constructors

Vo2MaxRecord

Added in 1.1.0-alpha10
Vo2MaxRecord(
    time: Instant,
    zoneOffset: ZoneOffset?,
    vo2MillilitersPerMinuteKilogram: Double,
    measurementMethod: Int = MEASUREMENT_METHOD_OTHER,
    metadata: Metadata = Metadata.EMPTY
)

Public functions

equals

open operator fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int

toString

open fun toString(): String

Public properties

measurementMethod

Added in 1.1.0-alpha10
val measurementMethodInt

VO2 max measurement method. Optional field. Allowed values: MeasurementMethod.

metadata

Added in 1.1.0-alpha10
open val metadataMetadata

Set of common metadata associated with the written record.

time

Added in 1.1.0-alpha10
open val timeInstant

Time the record happened.

vo2MillilitersPerMinuteKilogram

Added in 1.1.0-alpha10
val vo2MillilitersPerMinuteKilogramDouble

Maximal aerobic capacity (VO2 max) in milliliters. Required field. Valid range: 0-100.

zoneOffset

Added in 1.1.0-alpha10
open val zoneOffsetZoneOffset?

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.