Added in API level 34

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 BloodPressureRecord

Public methods
Boolean
equals(other: Any?)

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

Int

Pressure

Int

Pressure

Int

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 HealthConnectManager

static AggregationType<Pressure!>

Metric identifier to get maximum diastolic pressure using aggregate APIs in HealthConnectManager

static AggregationType<Pressure!>

Metric identifier to get minimum diastolic pressure using aggregate APIs in HealthConnectManager

static AggregationType<Pressure!>

Metric identifier to get average systolic pressure using aggregate APIs in HealthConnectManager

static AggregationType<Pressure!>

Metric identifier to get maximum systolic pressure using aggregate APIs in HealthConnectManager

static AggregationType<Pressure!>

Metric identifier to get minimum systolic pressure 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.
o the reference object with which to compare.
Return
Boolean true if this object is the same as the obj

getDiastolic

Added in API level 34
fun getDiastolic(): Pressure
Return
Pressure diastolic This value cannot be null.

getSystolic

Added in API level 34
fun getSystolic(): Pressure
Return
Pressure systolic 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

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