com.samsung.android.sdk.healthdata
Interface HealthConstants.HbA1c
-
- All Superinterfaces:
- HealthConstants.Common, HealthConstants.DiscreteMeasurement
- Enclosing class:
- HealthConstants
public static interface HealthConstants.HbA1c extends HealthConstants.DiscreteMeasurement
This interface defines glycated hemoglobin data of the user.Properties
Properties of the following extending interfaces are available for this data type.
HbA1c data has the following properties.
See more common properties by spreading this section out.Property name Description HealthConstants.HbA1c.DEVICE_UUID [Mandatory]
Device identifier which provides the health dataHealthConstants.HbA1c.START_TIME [Mandatory]
UTC milliseconds when the measurement is startedHealthConstants.HbA1c.TIME_OFFSET [Mandatory]
Time offset in milliseconds which considers the time zone and daylight saving timeHealthConstants.HbA1c.HBA1C [Mandatory]
Hemoglobin bound to the glucose valueHealthConstants.HbA1c.COMMENT Comment HealthConstants.HbA1c.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
COMMENT
Comment for data.static String
HBA1C
Hemoglobin bound to the glucose value in percent.static String
HEALTH_DATA_TYPE
Data type name for HbA1c data.-
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
-
HBA1C
static final String HBA1C
Hemoglobin bound to the glucose value in percent.- Mandatory
- Type:
float
- Value range: 3 ~ 15
- 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 HbA1c data.
Use"com.samsung.health.hba1c"
to add permission to the manifest file.- Since:
- 1.0.0
- See Also:
- Constant Field Values
-
-