Constants

USER_AGENT → String

'dart-api-client fitness/v1'

Classes

AggregateBucket

AggregateBy

The specification of which data to aggregate.

AggregateRequest

AggregateResponse

Application

See: google3/java/com/google/android/apps/heart/platform/api/Application.java

BucketByActivity

BucketBySession

BucketByTime

DataPoint

Represents a single data point, generated by a particular data source. A data point holds a value for each field, an end timestamp and an optional start time. The exact semantics of each of these attributes are specified in the documentation for the particular data type.

Dataset

A dataset represents a projection container for data points. They do not carry any info of their own. Datasets represent a set of data points from a particular data source. A data point can be found in more than one dataset.

DataSource

Definition of a unique source of sensor data. Data sources can expose raw data coming from hardware sensors on local or companion devices. They can also expose derived data, created by transforming or merging other data sources. Multiple data sources can exist for the same data type. Every data point inserted into or read from this service has an associated data source.

DataType

See: google3/java/com/google/android/apps/heart/platform/api/DataType.java

DataTypeField

In case of multi-dimensional data (such as an accelerometer with x, y, and z axes) each field represents one dimension. Each data type field has a unique name which identifies it. The field also defines the format of the data (int, float, etc.).

Device

Representation of an integrated device (such as a phone or a wearable) that can hold sensors. Each sensor is exposed as a data source.

FitnessApi

Google Fit API

ListDataSourcesResponse

ListSessionsResponse

MapValue

Holder object for the value of an entry in a map field of a data point.

Session

Sessions contain metadata, such as a user-friendly name and time interval information.

UsersDatasetResourceApi

UsersDataSourcesDatasetsResourceApi

UsersDataSourcesResourceApi

UsersResourceApi

UsersSessionsResourceApi

Value

Holder object for the value of a single field in a data point.

ValueMapValEntry

Exceptions / Errors

ApiRequestError

Represents a general error reported by the API endpoint.

DetailedApiRequestError

Represents a specific error reported by the API endpoint.