bucketByActivityType property

BucketByActivity? bucketByActivityType
getter/setter pair

Specifies that data be aggregated by the type of activity being performed when the data was recorded.

All data that was recorded during a certain activity type (.for the given time range) will be aggregated into the same bucket. Data that was recorded while the user was not active will not be included in the response. Mutually exclusive of other bucketing specifications.

Implementation

BucketByActivity? bucketByActivityType;