CyclingPedalingCadenceRecord

class CyclingPedalingCadenceRecord : Record


Captures the user's cycling pedaling cadence. Each record represents a series of measurements.

Summary

Nested types

Represents a single measurement of the cycling pedaling cadence.

Public companion properties

AggregateMetric<Double>

Metric identifier to retrieve average cycling pedaling cadence from androidx.health.connect.client.aggregate.AggregationResult.

AggregateMetric<Double>

Metric identifier to retrieve maximum cycling pedaling cadence from androidx.health.connect.client.aggregate.AggregationResult.

AggregateMetric<Double>

Metric identifier to retrieve minimum cycling pedaling cadence from androidx.health.connect.client.aggregate.AggregationResult.

Public constructors

CyclingPedalingCadenceRecord(
    startTime: Instant,
    startZoneOffset: ZoneOffset?,
    endTime: Instant,
    endZoneOffset: ZoneOffset?,
    samples: List<CyclingPedalingCadenceRecord.Sample>,
    metadata: Metadata
)

Public functions

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

Public properties

open Instant

End time of the record.

open ZoneOffset?

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

open Metadata

Set of common metadata associated with the written record.

open List<CyclingPedalingCadenceRecord.Sample>
open Instant

Start time of the record.

open ZoneOffset?

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

Public companion properties

RPM_AVG

val RPM_AVGAggregateMetric<Double>

Metric identifier to retrieve average cycling pedaling cadence from androidx.health.connect.client.aggregate.AggregationResult.

RPM_MAX

val RPM_MAXAggregateMetric<Double>

Metric identifier to retrieve maximum cycling pedaling cadence from androidx.health.connect.client.aggregate.AggregationResult.

RPM_MIN

val RPM_MINAggregateMetric<Double>

Metric identifier to retrieve minimum cycling pedaling cadence from androidx.health.connect.client.aggregate.AggregationResult.

Public constructors

CyclingPedalingCadenceRecord

Added in 1.1.0-alpha07
CyclingPedalingCadenceRecord(
    startTime: Instant,
    startZoneOffset: ZoneOffset?,
    endTime: Instant,
    endZoneOffset: ZoneOffset?,
    samples: List<CyclingPedalingCadenceRecord.Sample>,
    metadata: Metadata = Metadata.EMPTY
)

Public functions

equals

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

hashCode

open fun hashCode(): Int

Public properties

endTime

Added in 1.1.0-alpha07
open val endTimeInstant

End time of the record.

endZoneOffset

Added in 1.1.0-alpha07
open val endZoneOffsetZoneOffset?

User experienced zone offset at endTime, 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.

metadata

Added in 1.1.0-alpha07
open val metadataMetadata

Set of common metadata associated with the written record.

startTime

Added in 1.1.0-alpha07
open val startTimeInstant

Start time of the record.

startZoneOffset

Added in 1.1.0-alpha07
open val startZoneOffsetZoneOffset?

User experienced zone offset at startTime, 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.