public static interface HealthConstants.UvExposure extends HealthConstants.DiscreteMeasurement
Properties of the following extending interfaces are available for this data type.
UV exposure data has the following properties.
Property name | Description |
---|---|
HealthConstants.UvExposure.DEVICE_UUID | [Mandatory] Device identifier which provides the health data |
HealthConstants.UvExposure.START_TIME | [Mandatory] UTC milliseconds when the measurement is started |
HealthConstants.UvExposure.TIME_OFFSET | [Mandatory] Time offset in milliseconds which considers the time zone and daylight saving time |
HealthConstants.UvExposure.UV_INDEX | [Mandatory] Measured UV index value |
HealthConstants.UvExposure.LATITUDE | Latitude value of the place |
HealthConstants.UvExposure.LONGITUDE | Longitude value of the place |
HealthConstants.UvExposure.ALTITUDE | Altitude value of the place |
HealthConstants.UvExposure.ACCURACY | Accuracy value of location |
HealthConstants.UvExposure.COMMENT | Comment |
HealthConstants.UvExposure.CUSTOM | Custom info which is formatted with JSON and compressed data |
Modifier and Type | Field and Description |
---|---|
static String |
ACCURACY
Accuracy value of location information.
|
static String |
ALTITUDE
Altitude value of the place in meters.
|
static String |
COMMENT
Comment for data.
|
static String |
HEALTH_DATA_TYPE
Data type name for UV exposure data.
|
static String |
LATITUDE
Latitude value of the place in degrees.
|
static String |
LONGITUDE
Longitude value of the place in degrees.
|
static String |
UV_INDEX
Measured UV index value.
|
START_TIME, TIME_OFFSET
CREATE_TIME, CUSTOM, DEVICE_UUID, PACKAGE_NAME, UPDATE_TIME, UUID
static final String UV_INDEX
float
static final String LATITUDE
float
static final String LONGITUDE
float
static final String ALTITUDE
float
static final String ACCURACY
float
static final String COMMENT
String
static final String HEALTH_DATA_TYPE
"com.samsung.health.uv_exposure"
to add permission to the manifest file.Copyright © Samsung Electronics, Co., Ltd. All rights reserved.