Added in API level 34
ActiveCaloriesBurnedRecord
class ActiveCaloriesBurnedRecord : IntervalRecord
kotlin.Any | |||
↳ | android.health.connect.datatypes.Record | ||
↳ | android.health.connect.datatypes.IntervalRecord | ||
↳ | android.health.connect.datatypes.ActiveCaloriesBurnedRecord |
Captures the estimated active energy burned by the user (in kilocalories), excluding basal metabolic rate (BMR).
Summary
Nested classes | |
---|---|
Builder class for |
Public methods | |
---|---|
Boolean |
Indicates whether some other object is "equal to" this one. |
Energy | |
Int |
hashCode() |
Inherited functions | |
---|---|
Properties | |
---|---|
static AggregationType<Energy!> |
Metric identifier to get total active calories burnt using aggregate APIs in |
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 . |
o |
the reference object with which to compare. |
Return | |
---|---|
Boolean |
true if this object is the same as the obj |
getEnergy
Added in API level 34
fun getEnergy(): Energy
Return | |
---|---|
Energy |
energy in Energy unit. This value cannot be null . |
Properties
ACTIVE_CALORIES_TOTAL
Added in API level 34
static val ACTIVE_CALORIES_TOTAL: AggregationType<Energy!>
Metric identifier to get total active calories burnt using aggregate APIs in HealthConnectManager