DataType.Companion

object DataType.Companion


Summary

Public properties

DataType

Absolute elevation between each reading expressed in meters in double format.

DataType

The duration of the time the Exercise was ACTIVE in seconds in long format.

Parcelable.Creator<DataType>
DataType

The total number calories over a day in double format, where the previous day ends and a new day begins at 12:00 AM local time.

DataType

The total distance over a day in double format, where the previous day ends and a new day begins at 12:00 AM local time.

DataType

The total number floors climbed over a day in double format, where the previous day ends and a new day begins at 12:00 AM local time.

DataType

The total step count over a day in long format, where the previous day ends and a new day begins at 12:00 AM local time.

DataType

A distance delta traveled over declining ground between each reading expressed in meters in double format.

DataType

A duration delta representing the amount of time the user spent traveling over declining ground during the interval, expressed in seconds in long format.

DataType

A distance delta between each reading expressed in meters in double format.

DataType

A measure of the gain in elevation expressed in meters in double format.

DataType

A distance delta traveled over flat ground between each reading expressed in meters in double format.

DataType

A duration delta representing the amount of time the user spent traveling over flat ground during the interval, expressed in seconds in long format.

DataType

Number of floors climbed between each reading in double format

DataType

Current heart rate, in beats per minute in double format.

DataType

A distance delta traveled over inclining ground between each reading expressed in meters in double format.

DataType

A duration delta representing the amount of time the user spent traveling over inclining ground during the interval, expressed in seconds in long format.

DataType

Current latitude, longitude and optionally, altitude in double[] format.

DataType

Current pace.

DataType

The current rep count of the exercise in long format.

DataType

The duration during which the user was resting during an Exercise in seconds in long format.

DataType

Delta of running steps between each reading in long format.

DataType

Current speed over time.

DataType

Percentage of oxygen in the blood in double format.

DataType

Delta of steps between each reading in long format.

DataType

Current step rate in steps/minute in long format.

DataType

Count of swimming laps ins long format.

DataType

Delta of strokes between each reading of swimming strokes in long format.

DataType

Delta of total calories (including basal rate and activity) between each reading in double format.

DataType

Rate of oxygen consumption in double format.

DataType

Maximum rate of oxygen consumption measured during incremental exercise in double format.

DataType

Delta of walking steps between each reading in long format.

Public properties

ABSOLUTE_ELEVATION

val ABSOLUTE_ELEVATIONDataType

Absolute elevation between each reading expressed in meters in double format.

ACTIVE_EXERCISE_DURATION

val ACTIVE_EXERCISE_DURATIONDataType

The duration of the time the Exercise was ACTIVE in seconds in long format.

DAILY_CALORIES

val DAILY_CALORIESDataType

The total number calories over a day in double format, where the previous day ends and a new day begins at 12:00 AM local time. Each DataPoint of this type will cover the interval from the start of day to now. In the event of time-zone shifts, the interval might be greater than 24hrs.

DAILY_DISTANCE

val DAILY_DISTANCEDataType

The total distance over a day in double format, where the previous day ends and a new day begins at 12:00 AM local time. Each DataPoint of this type will cover the interval from the start of day to now. In the event of time-zone shifts, the interval might be greater than 24hrs.

DAILY_FLOORS

val DAILY_FLOORSDataType

The total number floors climbed over a day in double format, where the previous day ends and a new day begins at 12:00 AM local time. Each DataPoint of this type will cover the interval from the start of day to now. In the event of time-zone shifts, the interval might be greater than 24hrs.

DAILY_STEPS

val DAILY_STEPSDataType

The total step count over a day in long format, where the previous day ends and a new day begins at 12:00 AM local time. Each DataPoint of this type will cover the interval from the start of day to now. In the event of time-zone shifts, the interval might be greater than 24hrs.

DECLINE_DISTANCE

val DECLINE_DISTANCEDataType

A distance delta traveled over declining ground between each reading expressed in meters in double format.

DECLINE_DURATION

val DECLINE_DURATIONDataType

A duration delta representing the amount of time the user spent traveling over declining ground during the interval, expressed in seconds in long format.

DISTANCE

val DISTANCEDataType

A distance delta between each reading expressed in meters in double format.

ELEVATION_GAIN

val ELEVATION_GAINDataType

A measure of the gain in elevation expressed in meters in double format. Elevation losses are not counted in this metric (so it will only be positive or 0).

FLAT_GROUND_DISTANCE

val FLAT_GROUND_DISTANCEDataType

A distance delta traveled over flat ground between each reading expressed in meters in double format.

FLAT_GROUND_DURATION

val FLAT_GROUND_DURATIONDataType

A duration delta representing the amount of time the user spent traveling over flat ground during the interval, expressed in seconds in long format.

FLOORS

val FLOORSDataType

Number of floors climbed between each reading in double format

HEART_RATE_BPM

val HEART_RATE_BPMDataType

Current heart rate, in beats per minute in double format.

Accuracy for a DataPoint of type DataType.HEART_RATE_BPM is represented by HrAccuracy.

INCLINE_DISTANCE

val INCLINE_DISTANCEDataType

A distance delta traveled over inclining ground between each reading expressed in meters in double format.

INCLINE_DURATION

val INCLINE_DURATIONDataType

A duration delta representing the amount of time the user spent traveling over inclining ground during the interval, expressed in seconds in long format.

LOCATION

val LOCATIONDataType

Current latitude, longitude and optionally, altitude in double[] format. Latitude at index DataPoints.LOCATION_DATA_POINT_LATITUDE_INDEX, longitude at index DataPoints.LOCATION_DATA_POINT_LONGITUDE_INDEX and if available, altitude at index DataPoints.LOCATION_DATA_POINT_ALTITUDE_INDEX

Accuracy for a DataPoint of type DataType.LOCATION is represented by LocationAccuracy.

PACE

val PACEDataType

Current pace. In millisec/km in double format.

REP_COUNT

val REP_COUNTDataType

The current rep count of the exercise in long format.

RESTING_EXERCISE_DURATION

val RESTING_EXERCISE_DURATIONDataType

The duration during which the user was resting during an Exercise in seconds in long format.

RUNNING_STEPS

val RUNNING_STEPSDataType

Delta of running steps between each reading in long format.

SPEED

val SPEEDDataType

Current speed over time. In meters/second in double format.

SPO2

val SPO2DataType

Percentage of oxygen in the blood in double format. Valid range 0f - 100f.

STEPS

val STEPSDataType

Delta of steps between each reading in long format.

STEPS_PER_MINUTE

val STEPS_PER_MINUTEDataType

Current step rate in steps/minute in long format.

SWIMMING_LAP_COUNT

val SWIMMING_LAP_COUNTDataType

Count of swimming laps ins long format.

SWIMMING_STROKES

val SWIMMING_STROKESDataType

Delta of strokes between each reading of swimming strokes in long format.

TOTAL_CALORIES

val TOTAL_CALORIESDataType

Delta of total calories (including basal rate and activity) between each reading in double format.

VO2

val VO2DataType

Rate of oxygen consumption in double format. Valid range 0f - 100f.

VO2_MAX

val VO2_MAXDataType

Maximum rate of oxygen consumption measured during incremental exercise in double format. Valid range 0f - 100f.

WALKING_STEPS

val WALKING_STEPSDataType

Delta of walking steps between each reading in long format.