Added in API level 34

CyclingPedalingCadenceRecordSample

class CyclingPedalingCadenceRecordSample
kotlin.Any
   ↳ android.health.connect.datatypes.CyclingPedalingCadenceRecord.CyclingPedalingCadenceRecordSample

Represents a single measurement of the cycling pedaling cadence.

Summary

Public constructors
CyclingPedalingCadenceRecordSample(revolutionsPerMinute: Double, time: Instant)

CyclingPedalingCadenceRecord sample for entries of CyclingPedalingCadenceRecord

Public methods
Boolean
equals(other: Any?)

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

Double

Instant

Int

Returns a hash code value for the object.

Public constructors

CyclingPedalingCadenceRecordSample

Added in API level 34
CyclingPedalingCadenceRecordSample(
    revolutionsPerMinute: Double,
    time: Instant)

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
fun equals(other: Any?): Boolean

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

Parameters
obj the reference object with which to compare.
object the reference object with which to compare. This value may be null.
Return
Boolean true if this object is the same as the obj

getRevolutionsPerMinute

Added in API level 34
fun getRevolutionsPerMinute(): Double
Return
Double RevolutionsPerMinute for this sample

getTime

Added in API level 34
fun getTime(): Instant
Return
Instant time at which this sample was recorded This value cannot be null.

hashCode

Added in API level 34
fun hashCode(): Int

Returns a hash code value for the object.

Return
Int a hash code value for this object.