BodyFatRecord
class BodyFatRecord : Record
Captures the body fat percentage of a user. Each record represents a person's total body fat as a percentage of their total body mass.
Summary
Public constructors |
|---|
BodyFatRecord( |
Public properties |
|
|---|---|
open Metadata |
Set of common metadata associated with the written record. |
Percentage |
Percentage. |
open Instant |
Time the record happened. |
open ZoneOffset? |
User experienced zone offset at |
Public constructors
BodyFatRecord
BodyFatRecord(
time: Instant,
zoneOffset: ZoneOffset?,
percentage: Percentage,
metadata: Metadata
)
Public functions
Public properties
percentage
val percentage: Percentage
Percentage. 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.