StepsCadenceRecord
class StepsCadenceRecord : IntervalRecord
| kotlin.Any | |||
| ↳ | android.health.connect.datatypes.Record | ||
| ↳ | android.health.connect.datatypes.IntervalRecord | ||
| ↳ | android.health.connect.datatypes.StepsCadenceRecord | ||
Captures the user's steps cadence.
Summary
| Nested classes | |
|---|---|
|
Builder class for |
|
|
Represents a single measurement of the steps cadence. |
|
| Public methods | |
|---|---|
| Boolean |
Indicates whether some other object is "equal to" this one. |
| MutableList<StepsCadenceRecord.StepsCadenceRecordSample!> | |
| Int |
hashCode()Returns a hash code value for the object. |
| Inherited functions | |
|---|---|
| Properties | |
|---|---|
| static AggregationType<Double!> |
Metric identifier to retrieve average Steps cadence rate using aggregate APIs in |
| static AggregationType<Double!> |
Metric identifier to retrieve maximum Steps cadence rate using aggregate APIs in |
| static AggregationType<Double!> |
Metric identifier to retrieve minimum Steps cadence rate using aggregate APIs in |
Public methods
equals
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 |
getSamples
fun getSamples(): MutableList<StepsCadenceRecord.StepsCadenceRecordSample!>
| Return | |
|---|---|
MutableList<StepsCadenceRecord.StepsCadenceRecordSample!> |
StepsCadenceRecord samples corresponding to this record, in ascending time order This value cannot be null. |
hashCode
fun hashCode(): Int
Returns a hash code value for the object.
| Return | |
|---|---|
Int |
a hash code value for this object. |
Properties
STEPS_CADENCE_RATE_AVG
static val STEPS_CADENCE_RATE_AVG: AggregationType<Double!>
Metric identifier to retrieve average Steps cadence rate using aggregate APIs in HealthConnectManager
STEPS_CADENCE_RATE_MAX
static val STEPS_CADENCE_RATE_MAX: AggregationType<Double!>
Metric identifier to retrieve maximum Steps cadence rate using aggregate APIs in HealthConnectManager
STEPS_CADENCE_RATE_MIN
static val STEPS_CADENCE_RATE_MIN: AggregationType<Double!>
Metric identifier to retrieve minimum Steps cadence rate using aggregate APIs in HealthConnectManager