com.samsung.android.sdk.healthdata
Interface HealthConstants.BodyFat
-
- All Superinterfaces:
- HealthConstants.Common, HealthConstants.DiscreteMeasurement
- Enclosing class:
- HealthConstants
public static interface HealthConstants.BodyFat extends HealthConstants.DiscreteMeasurement
This interface defines body fat data of the user.Properties
Properties of the following extending interfaces are available for this data type.
Body fat data has the following properties.
See more common properties by spreading this section out.Property name Description HealthConstants.BodyFat.DEVICE_UUID [Mandatory]
Device identifier which provides the health dataHealthConstants.BodyFat.START_TIME [Mandatory]
UTC milliseconds when the measurement is startedHealthConstants.BodyFat.TIME_OFFSET [Mandatory]
Time offset in milliseconds which considers the time zone and daylight saving timeHealthConstants.BodyFat.BODY_FAT [Mandatory]
Measured body fat in percentageHealthConstants.BodyFat.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.3.0
-
-
Field Summary
Fields Modifier and Type Field and Description static String
BODY_FAT
Measured body fat in percentage.static String
HEALTH_DATA_TYPE
Data type name for body fat 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
-
BODY_FAT
static final String BODY_FAT
Measured body fat in percentage. Total fat mass divided by total body mass.- Mandatory
- Type:
float
- Value range: 1 ~ 75
- Since:
- 1.3.0
- See Also:
- Constant Field Values
-
HEALTH_DATA_TYPE
static final String HEALTH_DATA_TYPE
Data type name for body fat data.
Use"com.samsung.health.body_fat"
to add permission to the manifest file.- Since:
- 1.3.0
- See Also:
- Constant Field Values
-
-