com.samsung.android.sdk.healthdata
Interface HealthConstants.UvExposure
-
- All Superinterfaces:
- HealthConstants.Common, HealthConstants.DiscreteMeasurement
- Enclosing class:
- HealthConstants
public static interface HealthConstants.UvExposure extends HealthConstants.DiscreteMeasurement
This interface defines UV exposure data around the device.Properties
Properties of the following extending interfaces are available for this data type.
UV exposure data has the following properties.
See more common properties by spreading this section out.Property name Description HealthConstants.UvExposure.DEVICE_UUID [Mandatory]
Device identifier which provides the health dataHealthConstants.UvExposure.START_TIME [Mandatory]
UTC milliseconds when the measurement is startedHealthConstants.UvExposure.TIME_OFFSET [Mandatory]
Time offset in milliseconds which considers the time zone and daylight saving timeHealthConstants.UvExposure.UV_INDEX [Mandatory]
Measured UV index valueHealthConstants.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 Data Permission
The user's consent is required to read or write this data type. HealthPermissionManager.requestPermissions() displays a data permission UI to the user.
See Permission Manager and request data permission.- Since:
- 1.0.0
-
-
Field Summary
Fields 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.-
Fields inherited from interface com.samsung.android.sdk.healthdata.HealthConstants.DiscreteMeasurement
START_TIME, TIME_OFFSET
-
Fields inherited from interface com.samsung.android.sdk.healthdata.HealthConstants.Common
CREATE_TIME, CUSTOM, DEVICE_UUID, PACKAGE_NAME, UPDATE_TIME, UUID
-
-
-
-
Field Detail
-
UV_INDEX
static final String UV_INDEX
Measured UV index value.- Mandatory
- Type:
float
- Value range: 0 ~ 15
- Since:
- 1.0.0
- See Also:
- Constant Field Values
-
LATITUDE
static final String LATITUDE
Latitude value of the place in degrees.
It follows WGS 84.- Optional
- Type:
float
- Value range: -90 ~ 90
- Since:
- 1.0.0
- See Also:
- Constant Field Values
-
LONGITUDE
static final String LONGITUDE
Longitude value of the place in degrees.
It follows WGS 84.- Optional
- Type:
float
- Value range: -180 ~ 180
- Since:
- 1.0.0
- See Also:
- Constant Field Values
-
ALTITUDE
static final String ALTITUDE
Altitude value of the place in meters.
It follows WGS 84.- Optional
- Type:
float
- Value range: -1000 ~ 10000
- Since:
- 1.0.0
- See Also:
- Constant Field Values
-
ACCURACY
static final String ACCURACY
Accuracy value of location information.
It follows WGS 84.- Optional
- Type:
float
- Value range: 0 and above
- Since:
- 1.0.0
- See Also:
- Constant Field Values
-
COMMENT
static final String COMMENT
Comment for data.- Optional
- Type:
String
- Value length: 0 ~ 255
- Since:
- 1.0.0
- See Also:
- Constant Field Values
-
HEALTH_DATA_TYPE
static final String HEALTH_DATA_TYPE
Data type name for UV exposure data.
Use"com.samsung.health.uv_exposure"
to add permission to the manifest file.- Since:
- 1.0.0
- See Also:
- Constant Field Values
-
-