HeartRateVariabilityRmssdRecord


public final class HeartRateVariabilityRmssdRecord implements Record


Captures user's heart rate variability (HRV) as measured by the root mean square of successive differences (RMSSD) between normal heartbeats.

Summary

Public constructors

HeartRateVariabilityRmssdRecord(
    @NonNull Instant time,
    ZoneOffset zoneOffset,
    double heartRateVariabilityMillis,
    @NonNull Metadata metadata
)

Public methods

boolean
equals(Object other)
final double

Heart rate variability in milliseconds.

@NonNull Metadata

Set of common metadata associated with the written record.

@NonNull Instant

Time the record happened.

ZoneOffset

User experienced zone offset at time, or null if unknown.

int
@NonNull String

Public constructors

HeartRateVariabilityRmssdRecord

Added in 1.1.0-alpha10
public HeartRateVariabilityRmssdRecord(
    @NonNull Instant time,
    ZoneOffset zoneOffset,
    double heartRateVariabilityMillis,
    @NonNull Metadata metadata
)

Public methods

equals

public boolean equals(Object other)

getHeartRateVariabilityMillis

Added in 1.1.0-alpha10
public final double getHeartRateVariabilityMillis()

Heart rate variability in milliseconds. Required field. Valid Range: 1-200.

getMetadata

Added in 1.1.0-alpha10
public @NonNull Metadata getMetadata()

Set of common metadata associated with the written record.

getTime

Added in 1.1.0-alpha10
public @NonNull Instant getTime()

Time the record happened.

getZoneOffset

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

hashCode

public int hashCode()

toString

public @NonNull String toString()