Added in API level 34
StepsCadenceRecordSample
class StepsCadenceRecordSample
kotlin.Any | |
↳ | android.health.connect.datatypes.StepsCadenceRecord.StepsCadenceRecordSample |
Represents a single measurement of the steps cadence.
Summary
Public constructors | |
---|---|
StepsCadenceRecordSample(rate: Double, time: Instant) StepsCadenceRecord sample for entries of |
Public methods | |
---|---|
Boolean |
Indicates whether some other object is "equal to" this one. |
Double |
getRate() |
Instant |
getTime() |
Int |
hashCode() Returns a hash code value for the object. |
Public constructors
StepsCadenceRecordSample
Added in API level 34
StepsCadenceRecordSample(
rate: Double,
time: Instant)
StepsCadenceRecord sample for entries of StepsCadenceRecord
Parameters | |
---|---|
rate |
Double: Rate in steps 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 |
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. |