CyclingPedalingCadenceRecord

public final class CyclingPedalingCadenceRecord
extends IntervalRecord

java.lang.Object
   ↳ android.health.connect.datatypes.Record
     ↳ android.health.connect.datatypes.IntervalRecord
       ↳ android.health.connect.datatypes.CyclingPedalingCadenceRecord


Captures the user's cycling pedaling cadence.

Summary

Nested classes

class CyclingPedalingCadenceRecord.Builder

Builder class for CyclingPedalingCadenceRecord 

class CyclingPedalingCadenceRecord.CyclingPedalingCadenceRecordSample

Represents a single measurement of the cycling pedaling cadence. 

Fields

public static final AggregationType<Double> RPM_AVG

Metric identifier to retrieve average cycling pedaling cadence using aggregate APIs in HealthConnectManager

public static final AggregationType<Double> RPM_MAX

Metric identifier to retrieve maximum cycling pedaling cadence using aggregate APIs in HealthConnectManager

public static final AggregationType<Double> RPM_MIN

Metric identifier to retrieve minimum cycling pedaling cadence using aggregate APIs in HealthConnectManager

Public methods

boolean equals(Object object)

Indicates whether some other object is "equal to" this one.

List<CyclingPedalingCadenceRecord.CyclingPedalingCadenceRecordSample> getSamples()
int hashCode()

Returns a hash code value for the object.

Inherited methods

Fields

RPM_AVG

Added in U Extensions 10
public static final AggregationType<Double> RPM_AVG

Metric identifier to retrieve average cycling pedaling cadence using aggregate APIs in HealthConnectManager

RPM_MAX

Added in U Extensions 10
public static final AggregationType<Double> RPM_MAX

Metric identifier to retrieve maximum cycling pedaling cadence using aggregate APIs in HealthConnectManager

RPM_MIN

Added in U Extensions 10
public static final AggregationType<Double> RPM_MIN

Metric identifier to retrieve minimum cycling pedaling cadence using aggregate APIs in HealthConnectManager

Public methods

equals

Added in API level 34
public boolean equals (Object object)

Indicates whether some other object is "equal to" this one.

Parameters
object Object: the reference object with which to compare. This value may be null.

Returns
boolean true if this object is the same as the obj

getSamples

Added in API level 34
public List<CyclingPedalingCadenceRecord.CyclingPedalingCadenceRecordSample> getSamples ()

Returns
List<CyclingPedalingCadenceRecord.CyclingPedalingCadenceRecordSample> CyclingPedalingCadenceRecord samples corresponding to this record This value cannot be null.

hashCode

Added in API level 34
public int hashCode ()

Returns a hash code value for the object.

Returns
int a hash code value for this object.