HeartRateVariabilitySdnn

@RestrictTo([Scope.LIBRARY]) class HeartRateVariabilitySdnn : InstantaneousRecord
kotlin.Any
   ↳ androidx.health.connect.client.records.HeartRateVariabilitySdnn

Captures user's heart rate variability (HRV) as measured by the standard deviation of all N-N intervals.

Summary

Public constructors
HeartRateVariabilitySdnn(heartRateVariabilityMillis: Double, time: Instant, zoneOffset: ZoneOffset?, metadata: Metadata = Metadata.EMPTY)

Captures user's heart rate variability (HRV) as measured by the standard deviation of all N-N intervals.

Public methods
Boolean
equals(other: Any?)

Int

Inherited extension functions
From androidx.health.connect.client.impl.converters.records
DataPoint

Converts public API object into internal proto for ipc.

Properties
Double

Heart rate variability in milliseconds.

Metadata

Set of common metadata associated with the written record.

Instant

Time the record happened.

ZoneOffset?

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

Public constructors

HeartRateVariabilitySdnn

HeartRateVariabilitySdnn(
    heartRateVariabilityMillis: Double,
    time: Instant,
    zoneOffset: ZoneOffset?,
    metadata: Metadata = Metadata.EMPTY)

Captures user's heart rate variability (HRV) as measured by the standard deviation of all N-N intervals.

Public methods

equals

fun equals(other: Any?): Boolean

hashCode

fun hashCode(): Int

Properties

heartRateVariabilityMillis

val heartRateVariabilityMillis: Double

Heart rate variability in milliseconds. Required field.

metadata

val metadata: Metadata

Set of common metadata associated with the written record.

time

val time: Instant

Time the record happened.

zoneOffset

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.