java.lang.Object | |
↳ | com.google.android.gms.fitness.data.AggregateDataTypes |
Definition of data types in the com.google
namespace which represent aggregates of other
data types
over a time period.
DataReadRequest
with a specified bucketing
strategy.
Though they can be stored directly, it's preferred to store the un-aggregated data type instead.
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
ACTIVITY_SUMMARY | In the com.google.activity.summary data type, each data point represents a summary
of all activity segments of a particular activity type over a time interval. |
||||||||||
DISTANCE_DELTA | Aggregate distance, in meters, during a time interval. | ||||||||||
HEART_RATE_SUMMARY | In the com.google.heart_rate.summary data type, each data point represents
average, maximum and minimum beats per minute over the time interval of the data point. |
||||||||||
INPUT_TYPES | List of data types that are supported as input data types for aggregation. | ||||||||||
LOCATION_BOUNDING_BOX | In the com.google.location.bounding_box data type, a data point represents the
bounding box computed over user's location data points over a time interval. |
||||||||||
POWER_SUMMARY | In the com.google.power.summary data type, each data point represents
average, maximum and minimum watts over the time interval of the data point. |
||||||||||
SPEED_SUMMARY | In the com.google.speed.summary data type, each data point represents the
average, maximum and minimum speed over ground, in meters/second, over the time interval of
the data point. |
||||||||||
STEP_COUNT_DELTA | Aggregate number of steps during a time interval. | ||||||||||
WEIGHT_SUMMARY | In the com.google.weight.summary data type, each data point represents the
average, maximum and minimum weight, in kilograms, over the time interval of
the data point. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns a list of output aggregate data types for the specified
inputDataType . |
[Expand]
Inherited Methods | |||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
In the com.google.activity.summary
data type, each data point represents a summary
of all activity segments of a particular activity type over a time interval. The data type
has three fields:
DetectedActivity
Because this is an aggregate data type, start and end times should be set.
Aggregate distance, in meters, during a time interval. This data type is also used for
non-aggregated data. The full definition can be found at DISTANCE_DELTA
.
In the com.google.heart_rate.summary
data type, each data point represents
average, maximum and minimum beats per minute over the time interval of the data point.
Because this is an aggregate data type, start and end times should be set.
List of data types that are supported as input data types for aggregation.
In the com.google.location.bounding_box
data type, a data point represents the
bounding box computed over user's location data points over a time interval. Each bounding
box has four fields:
In the com.google.power.summary
data type, each data point represents
average, maximum and minimum watts over the time interval of the data point.
Because this is an aggregate data type, start and end times should be set.
In the com.google.speed.summary
data type, each data point represents the
average, maximum and minimum speed over ground, in meters/second, over the time interval of
the data point.
Because this is an aggregate data type, the start and end times should be set.
Aggregate number of steps during a time interval. This data type is also used for
non-aggregated data. The full definition can be found at STEP_COUNT_DELTA
.
In the com.google.weight.summary
data type, each data point represents the
average, maximum and minimum weight, in kilograms, over the time interval of
the data point.
Because this is an aggregate data type, the start and end times should be set.
Returns a list of output aggregate data types for the specified inputDataType
.