Added in API level 34

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 StepsCadenceRecord

Represents a single measurement of the steps cadence.

Public methods
Boolean
equals(other: Any?)

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

MutableList<StepsCadenceRecord.StepsCadenceRecordSample!>

Int

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 HealthConnectManager

static AggregationType<Double!>

Metric identifier to retrieve maximum Steps cadence rate using aggregate APIs in HealthConnectManager

static AggregationType<Double!>

Metric identifier to retrieve minimum Steps cadence rate using aggregate APIs in HealthConnectManager

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

getSamples

Added in API level 34
fun getSamples(): MutableList<StepsCadenceRecord.StepsCadenceRecordSample!>
Return
MutableList<StepsCadenceRecord.StepsCadenceRecordSample!> StepsCadenceRecord samples corresponding to this record 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.

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