OxygenSaturationRecord


class OxygenSaturationRecord : Record


Captures the amount of oxygen circulating in the blood, measured as a percentage of oxygen-saturated hemoglobin. Each record represents a single blood oxygen saturation reading at the time of measurement.

Summary

Public constructors

OxygenSaturationRecord(
    time: Instant,
    zoneOffset: ZoneOffset?,
    percentage: Percentage,
    metadata: Metadata
)

Public functions

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

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

Public constructors

OxygenSaturationRecord

Added in 1.1.0-alpha07
OxygenSaturationRecord(
    time: Instant,
    zoneOffset: ZoneOffset?,
    percentage: Percentage,
    metadata: Metadata = Metadata.EMPTY
)

Public functions

equals

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

hashCode

open fun hashCode(): Int

Public properties

metadata

Added in 1.1.0-alpha07
open val metadataMetadata

Set of common metadata associated with the written record.

percentage

Added in 1.1.0-alpha07
val percentagePercentage

Percentage. Required field. Valid range: 0-100.

time

Added in 1.1.0-alpha07
open val timeInstant

Time the record happened.

zoneOffset

Added in 1.1.0-alpha07
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.