CyclingPedalingCadenceRecord.CyclingPedalingCadenceRecordSample

public static final class CyclingPedalingCadenceRecord.CyclingPedalingCadenceRecordSample
extends Object

java.lang.Object
   ↳ android.health.connect.datatypes.CyclingPedalingCadenceRecord.CyclingPedalingCadenceRecordSample


Represents a single measurement of the cycling pedaling cadence.

Summary

Public constructors

CyclingPedalingCadenceRecordSample(double revolutionsPerMinute, Instant time)

CyclingPedalingCadenceRecord sample for entries of CyclingPedalingCadenceRecord

Public methods

boolean equals(Object object)

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

double getRevolutionsPerMinute()
Instant getTime()
int hashCode()

Returns a hash code value for the object.

Inherited methods

Public constructors

CyclingPedalingCadenceRecordSample

Added in API level 34
public CyclingPedalingCadenceRecordSample (double revolutionsPerMinute, 
                Instant time)

CyclingPedalingCadenceRecord sample for entries of CyclingPedalingCadenceRecord

Parameters
revolutionsPerMinute double: Cycling revolutions per minute.

time Instant: The point in time when the measurement was taken. This value cannot be null.

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

getRevolutionsPerMinute

Added in API level 34
public double getRevolutionsPerMinute ()

Returns
double RevolutionsPerMinute for this sample

getTime

Added in API level 34
public Instant getTime ()

Returns
Instant time at which this sample was recorded 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.