public static interface HealthConstants.OxygenSaturation extends HealthConstants.SessionMeasurement
Properties of the following extending interfaces are available for this data type.
Oxygen saturation data has the following properties.
Property name | Description |
---|---|
HealthConstants.OxygenSaturation.DEVICE_UUID | [Mandatory] Device identifier which provides the health data |
HealthConstants.OxygenSaturation.START_TIME | [Mandatory] UTC milliseconds when the measurement is started |
HealthConstants.OxygenSaturation.END_TIME | [Mandatory] UTC milliseconds after the measurement has ended |
HealthConstants.OxygenSaturation.TIME_OFFSET | [Mandatory] Time offset in milliseconds which considers the time zone and daylight saving time |
HealthConstants.OxygenSaturation.SPO2 | [Mandatory] Oxygen saturation value |
HealthConstants.OxygenSaturation.HEART_RATE | Heart rate value |
HealthConstants.OxygenSaturation.COMMENT | Comment |
HealthConstants.OxygenSaturation.CUSTOM | Custom info which is formatted with JSON and compressed data |
Modifier and Type | Field and Description |
---|---|
static String |
COMMENT
Comment for data.
|
static String |
HEALTH_DATA_TYPE
Data type name for oxygen saturation data.
|
static String |
HEART_RATE
Heart rate value.
|
static String |
SPO2
Oxygen saturation value.
|
END_TIME, START_TIME, TIME_OFFSET
CREATE_TIME, CUSTOM, DEVICE_UUID, PACKAGE_NAME, UPDATE_TIME, UUID
static final String SPO2
float
static final String HEART_RATE
float
static final String COMMENT
String
static final String HEALTH_DATA_TYPE
"com.samsung.health.oxygen_saturation"
to add permission to the manifest file.Copyright © Samsung Electronics, Co., Ltd. All rights reserved.