StepsCadenceRecord
public
final
class
StepsCadenceRecord
extends IntervalRecord
java.lang.Object | |||
↳ | android.health.connect.datatypes.Record | ||
↳ | android.health.connect.datatypes.IntervalRecord | ||
↳ | android.health.connect.datatypes.StepsCadenceRecord |
Captures the user's steps cadence.
Summary
Nested classes | |
---|---|
class |
StepsCadenceRecord.Builder
Builder class for |
class |
StepsCadenceRecord.StepsCadenceRecordSample
Represents a single measurement of the steps cadence. |
Fields | |
---|---|
public
static
final
AggregationType<Double> |
STEPS_CADENCE_RATE_AVG
Metric identifier to retrieve average Steps cadence rate using aggregate APIs in |
public
static
final
AggregationType<Double> |
STEPS_CADENCE_RATE_MAX
Metric identifier to retrieve maximum Steps cadence rate using aggregate APIs in |
public
static
final
AggregationType<Double> |
STEPS_CADENCE_RATE_MIN
Metric identifier to retrieve minimum Steps cadence rate using aggregate APIs in |
Public methods | |
---|---|
boolean
|
equals(Object object)
Indicates whether some other object is "equal to" this one. |
List<StepsCadenceRecord.StepsCadenceRecordSample>
|
getSamples()
|
int
|
hashCode()
Returns a hash code value for the object. |
Inherited methods | |
---|---|
Fields
STEPS_CADENCE_RATE_AVG
public static final AggregationType<Double> STEPS_CADENCE_RATE_AVG
Metric identifier to retrieve average Steps cadence rate using aggregate APIs in HealthConnectManager
STEPS_CADENCE_RATE_MAX
public static final AggregationType<Double> STEPS_CADENCE_RATE_MAX
Metric identifier to retrieve maximum Steps cadence rate using aggregate APIs in HealthConnectManager
STEPS_CADENCE_RATE_MIN
public static final AggregationType<Double> STEPS_CADENCE_RATE_MIN
Metric identifier to retrieve minimum Steps cadence rate using aggregate APIs in HealthConnectManager
Public methods
equals
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 |
getSamples
public List<StepsCadenceRecord.StepsCadenceRecordSample> getSamples ()
Returns | |
---|---|
List<StepsCadenceRecord.StepsCadenceRecordSample> |
StepsCadenceRecord samples corresponding to this record
This value cannot be null . |
hashCode
public int hashCode ()
Returns a hash code value for the object.
Returns | |
---|---|
int |
a hash code value for this object. |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2024-06-18 UTC.