| Package | Description |
|---|---|
| com.google.api.services.fitness | |
| com.google.api.services.fitness.model |
| Modifier and Type | Method and Description |
|---|---|
Fitness.Users.DataSources.Create |
Fitness.Users.DataSources.create(String userId,
DataSource content)
Creates a new data source that is unique across all data sources belonging to this user.
|
Fitness.Users.DataSources.Update |
Fitness.Users.DataSources.update(String userId,
String dataSourceId,
DataSource content)
Updates the specified data source.
|
| Constructor and Description |
|---|
Create(String userId,
DataSource content)
Creates a new data source that is unique across all data sources belonging to this user.
|
Update(String userId,
String dataSourceId,
DataSource content)
Updates the specified data source.
|
| Modifier and Type | Method and Description |
|---|---|
DataSource |
DataSource.clone() |
DataSource |
DataSource.set(String fieldName,
Object value) |
DataSource |
DataSource.setApplication(Application application)
Information about an application which feeds sensor data into the platform.
|
DataSource |
DataSource.setDataQualityStandard(List<String> dataQualityStandard)
DO NOT POPULATE THIS FIELD.
|
DataSource |
DataSource.setDataStreamId(String dataStreamId)
A unique identifier for the data stream produced by this data source.
|
DataSource |
DataSource.setDataStreamName(String dataStreamName)
The stream name uniquely identifies this particular data source among other data sources of the
same type from the same underlying producer.
|
DataSource |
DataSource.setDataType(DataType dataType)
The data type defines the schema for a stream of data being collected by, inserted into, or
queried from the Fitness API.
|
DataSource |
DataSource.setDevice(Device device)
Representation of an integrated device (such as a phone or a wearable) that can hold sensors.
|
DataSource |
DataSource.setName(String name)
An end-user visible name for this data source.
|
DataSource |
DataSource.setType(String type)
A constant describing the type of this data source.
|
| Modifier and Type | Method and Description |
|---|---|
List<DataSource> |
ListDataSourcesResponse.getDataSource()
A previously created data source.
|
| Modifier and Type | Method and Description |
|---|---|
ListDataSourcesResponse |
ListDataSourcesResponse.setDataSource(List<DataSource> dataSource)
A previously created data source.
|
Copyright © 2011–2021 Google. All rights reserved.