com.samsung.android.sdk.healthdata
Interface HealthConstants.FloorsClimbed
-
- All Superinterfaces:
- HealthConstants.Common, HealthConstants.SessionMeasurement
- Enclosing class:
- HealthConstants
public static interface HealthConstants.FloorsClimbed extends HealthConstants.SessionMeasurement
This interface defines floors climbed data of the user.Properties
Properties of the following extending interfaces are available for this data type.
Floor climbed data has the following properties.
See more common properties by spreading this section out.Property name Description HealthConstants.FloorsClimbed.DEVICE_UUID [Mandatory]
Device identifier which provides the health dataHealthConstants.FloorsClimbed.START_TIME [Mandatory]
UTC Time when the measurement is startedHealthConstants.FloorsClimbed.END_TIME [Mandatory]
UTC Time after the measurement has endedHealthConstants.FloorsClimbed.TIME_OFFSET [Mandatory]
Time offset which considers time zone and daylight saving timeHealthConstants.FloorsClimbed.FLOOR [Mandatory]
Floors climbedHealthConstants.FloorsClimbed.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
FLOOR
Floors climbed.static String
HEALTH_DATA_TYPE
Data type name for floors climbed data.-
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
-
FLOOR
static final String FLOOR
Floors climbed.
A floor is 3 meters.- Mandatory
- Type:
float
- Value length: 0 ~ 10000
- Since:
- 1.3.0
- See Also:
- Constant Field Values
-
HEALTH_DATA_TYPE
static final String HEALTH_DATA_TYPE
Data type name for floors climbed data.
Use"com.samsung.health.floors_climbed"
to add permission to the manifest file.- Since:
- 1.3.0
- See Also:
- Constant Field Values
-
-