com.samsung.android.sdk.healthdata
Interface HealthConstants.Electrocardiogram
-
- All Superinterfaces:
- HealthConstants.Common, HealthConstants.SessionMeasurement
- Enclosing class:
- HealthConstants
Deprecated.1.5.0 This data type will be removed. Do not use it any more.
public static interface HealthConstants.Electrocardiogram extends HealthConstants.SessionMeasurement
This interface defines electrocardiogram data of the user.Properties
Properties of the following extending interfaces are available for this data type.
Electrocardiogram data has the following properties.
See more common properties by spreading this section out.Property name Description HealthConstants.Electrocardiogram.DEVICE_UUID [Mandatory]
Device identifier which provides the health dataHealthConstants.Electrocardiogram.START_TIME [Mandatory]
UTC milliseconds when the measurement is startedHealthConstants.Electrocardiogram.END_TIME [Mandatory]
UTC milliseconds after the measurement has endedHealthConstants.Electrocardiogram.TIME_OFFSET [Mandatory]
Time offset in milliseconds which considers the time zone and daylight saving timeHealthConstants.Electrocardiogram.SAMPLE_FREQUENCY [Mandatory]
Sampling frequency of heart beatsHealthConstants.Electrocardiogram.SAMPLE_COUNT [Mandatory]
Sample count of heart beatsHealthConstants.Electrocardiogram.DATA [Mandatory]
ECG dataHealthConstants.Electrocardiogram.DATA_FORMAT [Mandatory]
Data format for the ECG diagramHealthConstants.Electrocardiogram.MAX_HEART_RATE Maximum value of heart rate HealthConstants.Electrocardiogram.MEAN_HEART_RATE Mean value of heart rate HealthConstants.Electrocardiogram.MIN_HEART_RATE Minimum value of heart rate HealthConstants.Electrocardiogram.COMMENT Comment HealthConstants.Electrocardiogram.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
Deprecated.Comment for data.static String
DATA
Deprecated.ECG data.static String
DATA_FORMAT
Deprecated.Data format for the ECG diagram.static String
HEALTH_DATA_TYPE
Deprecated.Data type name for electrocardiogram data.static String
MAX_HEART_RATE
Deprecated.Maximum value of heart rate.static String
MEAN_HEART_RATE
Deprecated.Mean value of heart rate.static String
MIN_HEART_RATE
Deprecated.Minimum value of heart rate.static String
SAMPLE_COUNT
Deprecated.Sample count of heart beats.static String
SAMPLE_FREQUENCY
Deprecated.Sampling frequency of heart beats.-
Fields inherited from interface com.samsung.android.sdk.healthdata.HealthConstants.SessionMeasurement
END_TIME, 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
-
MAX_HEART_RATE
static final String MAX_HEART_RATE
Deprecated.Maximum value of heart rate.- Optional
- Type:
float
- Value range: 0 ~ 300
- Since:
- 1.0.0
- See Also:
- Constant Field Values
-
MEAN_HEART_RATE
static final String MEAN_HEART_RATE
Deprecated.Mean value of heart rate.- Optional
- Type:
float
- Value range: 0 ~ 300
- Since:
- 1.0.0
- See Also:
- Constant Field Values
-
MIN_HEART_RATE
static final String MIN_HEART_RATE
Deprecated.Minimum value of heart rate.- Optional
- Type:
float
- Value range: 0 ~ 300
- Since:
- 1.0.0
- See Also:
- Constant Field Values
-
SAMPLE_FREQUENCY
static final String SAMPLE_FREQUENCY
Deprecated.Sampling frequency of heart beats.- Mandatory
- Type:
int
- Value range: 0 and above
- Since:
- 1.0.0
- See Also:
- Constant Field Values
-
SAMPLE_COUNT
static final String SAMPLE_COUNT
Deprecated.Sample count of heart beats.- Mandatory
- Type:
int
- Value range: 0 and above
- Since:
- 1.0.0
- See Also:
- Constant Field Values
-
DATA
static final String DATA
Deprecated.ECG data.- Mandatory
- Type:
byte[]
- Maximum data size: 1000 KB
Compressed JSON conversion can be:
- Since:
- 1.0.0
- See Also:
HealthDataUtil
, Constant Field Values
-
DATA_FORMAT
static final String DATA_FORMAT
Deprecated.Data format for the ECG diagram.- Mandatory
- Type:
String
- Value length: 1 ~ 32
- Since:
- 1.0.0
- See Also:
- Constant Field Values
-
COMMENT
static final String COMMENT
Deprecated.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
Deprecated.Data type name for electrocardiogram data.
Use"com.samsung.health.electrocardiogram"
to add permission to the manifest file.- Since:
- 1.0.0
- See Also:
- Constant Field Values
-
-