BloodPressureRecord
class BloodPressureRecord : InstantRecord
| kotlin.Any | |||
| ↳ | android.health.connect.datatypes.Record | ||
| ↳ | android.health.connect.datatypes.InstantRecord | ||
| ↳ | android.health.connect.datatypes.BloodPressureRecord | ||
Captures the blood pressure of a user. Each record represents a single instantaneous blood pressure reading.
Summary
| Nested classes | |
|---|---|
|
Identifier for Blood Pressure Measurement Location |
|
|
Identifier for body position |
|
|
Builder class for |
|
| Public methods | |
|---|---|
| Boolean |
Indicates whether some other object is "equal to" this one. |
| Int | |
| Pressure | |
| Int | |
| Pressure | |
| Int |
hashCode()Returns a hash code value for the object. |
| Inherited functions | |
|---|---|
| Properties | |
|---|---|
| static AggregationType<Pressure!> |
Metric identifier to get average diastolic pressure using aggregate APIs in |
| static AggregationType<Pressure!> |
Metric identifier to get maximum diastolic pressure using aggregate APIs in |
| static AggregationType<Pressure!> |
Metric identifier to get minimum diastolic pressure using aggregate APIs in |
| static AggregationType<Pressure!> |
Metric identifier to get average systolic pressure using aggregate APIs in |
| static AggregationType<Pressure!> |
Metric identifier to get maximum systolic pressure using aggregate APIs in |
| static AggregationType<Pressure!> |
Metric identifier to get minimum systolic pressure 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. |
o |
the reference object with which to compare. This value may be null. |
| Return | |
|---|---|
Boolean |
true if this object is the same as the obj |
getBodyPosition
fun getBodyPosition(): Int
getDiastolic
fun getDiastolic(): Pressure
| Return | |
|---|---|
Pressure |
diastolic This value cannot be null. |
getMeasurementLocation
fun getMeasurementLocation(): Int
getSystolic
fun getSystolic(): Pressure
| Return | |
|---|---|
Pressure |
systolic 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
DIASTOLIC_AVG
static val DIASTOLIC_AVG: AggregationType<Pressure!>
Metric identifier to get average diastolic pressure using aggregate APIs in HealthConnectManager
DIASTOLIC_MAX
static val DIASTOLIC_MAX: AggregationType<Pressure!>
Metric identifier to get maximum diastolic pressure using aggregate APIs in HealthConnectManager
DIASTOLIC_MIN
static val DIASTOLIC_MIN: AggregationType<Pressure!>
Metric identifier to get minimum diastolic pressure using aggregate APIs in HealthConnectManager
SYSTOLIC_AVG
static val SYSTOLIC_AVG: AggregationType<Pressure!>
Metric identifier to get average systolic pressure using aggregate APIs in HealthConnectManager
SYSTOLIC_MAX
static val SYSTOLIC_MAX: AggregationType<Pressure!>
Metric identifier to get maximum systolic pressure using aggregate APIs in HealthConnectManager
SYSTOLIC_MIN
static val SYSTOLIC_MIN: AggregationType<Pressure!>
Metric identifier to get minimum systolic pressure using aggregate APIs in HealthConnectManager