com.samsung.android.sdk.healthdata
Interface HealthConstants.BloodPressure
-
- All Superinterfaces:
- HealthConstants.Common, HealthConstants.DiscreteMeasurement
- Enclosing class:
- HealthConstants
public static interface HealthConstants.BloodPressure extends HealthConstants.DiscreteMeasurement
This interface defines blood pressure data of the user.Properties
Properties of the following extending interfaces are available for this data type.
Blood pressure data has the following properties.
See more common properties by spreading this section out.Property name Description HealthConstants.BloodPressure.DEVICE_UUID [Mandatory]
Device identifier which provides the health dataHealthConstants.BloodPressure.START_TIME [Mandatory]
UTC milliseconds when the measurement is startedHealthConstants.BloodPressure.TIME_OFFSET [Mandatory]
Time offset in milliseconds which considers the time zone and daylight saving timeHealthConstants.BloodPressure.SYSTOLIC [Mandatory]
Measured systolic valueHealthConstants.BloodPressure.DIASTOLIC [Mandatory]
Measured diastolic valueHealthConstants.BloodPressure.MEAN [Mandatory]
Mean valueHealthConstants.BloodPressure.PULSE Pulse rate HealthConstants.BloodPressure.COMMENT Comment HealthConstants.BloodPressure.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
DIASTOLIC
Measured diastolic value.static String
HEALTH_DATA_TYPE
Data type name for blood pressure data.static String
MEAN
Mean value.static String
PULSE
Pulse rate.static String
SYSTOLIC
Measured systolic 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
-
SYSTOLIC
static final String SYSTOLIC
Measured systolic value.- Mandatory
- Type:
float
- Value range: 0 ~ 300
- Since:
- 1.0.0
- See Also:
- Constant Field Values
-
DIASTOLIC
static final String DIASTOLIC
Measured diastolic value.- Mandatory
- Type:
float
- Value range: 0 ~ 250
- Since:
- 1.0.0
- See Also:
- Constant Field Values
-
MEAN
static final String MEAN
Mean value.- Mandatory
- Type:
float
- Value range: 0 ~ 300
- Since:
- 1.0.0
- See Also:
- Constant Field Values
-
PULSE
static final String PULSE
Pulse rate.- Optional
- Type:
int
- Value range: 15 ~ 300
- 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 blood pressure data.
Use"com.samsung.health.blood_pressure"
to add permission to the manifest file.- Since:
- 1.0.0
- See Also:
- Constant Field Values
-
-