SkinTemperatureRecord
class SkinTemperatureRecord : IntervalRecord
| kotlin.Any | |||
| ↳ | android.health.connect.datatypes.Record | ||
| ↳ | android.health.connect.datatypes.IntervalRecord | ||
| ↳ | android.health.connect.datatypes.SkinTemperatureRecord | ||
Captures the skin temperature of a user. Each record can represent a series of measurements of temperature differences.
Summary
| Nested classes | |
|---|---|
|
Builder class for |
|
|
Skin temperature delta entry of |
|
| Constants | |
|---|---|
| static Int |
Skin temperature measurement location finger. |
| static Int |
Skin temperature measurement location toe. |
| static Int |
Skin temperature measurement location unknown. |
| static Int |
Skin temperature measurement location wrist. |
| Public methods | |
|---|---|
| Boolean |
Indicates whether some other object is "equal to" this one. |
| Temperature? | |
| MutableList<SkinTemperatureRecord.Delta!> | |
| Int | |
| Int |
hashCode() |
| Inherited functions | |
|---|---|
| Properties | |
|---|---|
| static AggregationType<TemperatureDelta!> |
Metric identifier to retrieve average skin temperature delta using aggregate APIs in |
| static AggregationType<TemperatureDelta!> |
Metric identifier to retrieve maximum skin temperature delta using aggregate APIs in |
| static AggregationType<TemperatureDelta!> |
Metric identifier to retrieve minimum skin temperature delta using aggregate APIs in |
Constants
MEASUREMENT_LOCATION_FINGER
static val MEASUREMENT_LOCATION_FINGER: Int
Skin temperature measurement location finger.
Value: 1MEASUREMENT_LOCATION_TOE
static val MEASUREMENT_LOCATION_TOE: Int
Skin temperature measurement location toe.
Value: 2MEASUREMENT_LOCATION_UNKNOWN
static val MEASUREMENT_LOCATION_UNKNOWN: Int
Skin temperature measurement location unknown.
Value: 0MEASUREMENT_LOCATION_WRIST
static val MEASUREMENT_LOCATION_WRIST: Int
Skin temperature measurement location wrist.
Value: 3Public 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. |
| Return | |
|---|---|
Boolean |
true if this object is the same as the object. |
getBaseline
fun getBaseline(): Temperature?
| Return | |
|---|---|
Temperature? |
baseline skin temperature in Temperature unit. This value may be null. |
getDeltas
fun getDeltas(): MutableList<SkinTemperatureRecord.Delta!>
| Return | |
|---|---|
MutableList<SkinTemperatureRecord.Delta!> |
an unmodified list of skin temperature deltas in TemperatureDelta unit. This value cannot be null. |
getMeasurementLocation
fun getMeasurementLocation(): Int
Properties
SKIN_TEMPERATURE_DELTA_AVG
static val SKIN_TEMPERATURE_DELTA_AVG: AggregationType<TemperatureDelta!>
Metric identifier to retrieve average skin temperature delta using aggregate APIs in HealthConnectManager.
SKIN_TEMPERATURE_DELTA_MAX
static val SKIN_TEMPERATURE_DELTA_MAX: AggregationType<TemperatureDelta!>
Metric identifier to retrieve maximum skin temperature delta using aggregate APIs in HealthConnectManager.
SKIN_TEMPERATURE_DELTA_MIN
static val SKIN_TEMPERATURE_DELTA_MIN: AggregationType<TemperatureDelta!>
Metric identifier to retrieve minimum skin temperature delta using aggregate APIs in HealthConnectManager.