Stay organized with collections
Save and categorize content based on your preferences.
Builder
class Builder
Builder class for Vo2MaxRecord
Summary
Public constructors
Builder
Builder(
metadata: Metadata,
time: Instant,
measurementMethod: Int,
vo2MillilitersPerMinuteKilogram: Double)
| Parameters |
metadata |
Metadata: Metadata to be associated with the record. See Metadata. This value cannot be null. |
time |
Instant: Start time of this activity. This value cannot be null. |
measurementMethod |
Int: VO2 max measurement method. Optional field. Allowed values: Vo2MaxMeasurementMethod. Value is one of the following:
|
vo2MillilitersPerMinuteKilogram |
Double: Maximal aerobic capacity (VO2 max) in milliliters. Required field. Valid range: 0-100. Value is between 0.0f and 100.0f inclusive |
Public methods
clearZoneOffset
fun clearZoneOffset(): Vo2MaxRecord.Builder
Sets the zone offset of this record to system default.
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2026-02-13 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-02-13 UTC."],[],[]]