SkinTemperatureRecord


public final class SkinTemperatureRecord
extends IntervalRecord

java.lang.Object
   ↳ 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

class SkinTemperatureRecord.Builder

Builder class for SkinTemperatureRecord 

class SkinTemperatureRecord.Delta

Skin temperature delta entry of SkinTemperatureRecord

Constants

int MEASUREMENT_LOCATION_FINGER

Skin temperature measurement location finger.

int MEASUREMENT_LOCATION_TOE

Skin temperature measurement location toe.

int MEASUREMENT_LOCATION_UNKNOWN

Skin temperature measurement location unknown.

int MEASUREMENT_LOCATION_WRIST

Skin temperature measurement location wrist.

Fields

public static final AggregationType<TemperatureDelta> SKIN_TEMPERATURE_DELTA_AVG

Metric identifier to retrieve average skin temperature delta using aggregate APIs in HealthConnectManager.

public static final AggregationType<TemperatureDelta> SKIN_TEMPERATURE_DELTA_MAX

Metric identifier to retrieve maximum skin temperature delta using aggregate APIs in HealthConnectManager.

public static final AggregationType<TemperatureDelta> SKIN_TEMPERATURE_DELTA_MIN

Metric identifier to retrieve minimum skin temperature delta using aggregate APIs in HealthConnectManager.

Public methods

boolean equals(Object object)

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

Temperature getBaseline()
List<SkinTemperatureRecord.Delta> getDeltas()
int getMeasurementLocation()
int hashCode()

Returns a hash code value for the object.

Inherited methods

Constants

MEASUREMENT_LOCATION_FINGER

public static final int MEASUREMENT_LOCATION_FINGER

Skin temperature measurement location finger.

Constant Value: 1 (0x00000001)

MEASUREMENT_LOCATION_TOE

public static final int MEASUREMENT_LOCATION_TOE

Skin temperature measurement location toe.

Constant Value: 2 (0x00000002)

MEASUREMENT_LOCATION_UNKNOWN

public static final int MEASUREMENT_LOCATION_UNKNOWN

Skin temperature measurement location unknown.

Constant Value: 0 (0x00000000)

MEASUREMENT_LOCATION_WRIST

public static final int MEASUREMENT_LOCATION_WRIST

Skin temperature measurement location wrist.

Constant Value: 3 (0x00000003)

Fields

SKIN_TEMPERATURE_DELTA_AVG

public static final AggregationType<TemperatureDelta> SKIN_TEMPERATURE_DELTA_AVG

Metric identifier to retrieve average skin temperature delta using aggregate APIs in HealthConnectManager.

SKIN_TEMPERATURE_DELTA_MAX

public static final AggregationType<TemperatureDelta> SKIN_TEMPERATURE_DELTA_MAX

Metric identifier to retrieve maximum skin temperature delta using aggregate APIs in HealthConnectManager.

SKIN_TEMPERATURE_DELTA_MIN

public static final AggregationType<TemperatureDelta> SKIN_TEMPERATURE_DELTA_MIN

Metric identifier to retrieve minimum skin temperature delta 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 object.

getBaseline

public Temperature getBaseline ()

Returns
Temperature baseline skin temperature in Temperature unit. This value may be null.

getDeltas

public List<SkinTemperatureRecord.Delta> getDeltas ()

Returns
List<SkinTemperatureRecord.Delta> an unmodified list of skin temperature deltas in TemperatureDelta unit. This value cannot be null.

getMeasurementLocation

public int getMeasurementLocation ()

Returns
int measurementLocation Value is MEASUREMENT_LOCATION_UNKNOWN, MEASUREMENT_LOCATION_FINGER, MEASUREMENT_LOCATION_TOE, or MEASUREMENT_LOCATION_WRIST

hashCode

public int hashCode ()

Returns a hash code value for the object.

Returns
int a hash code value for the object.