| java.lang.Object | |
| ↳ | com.google.android.gms.fitness.request.SessionInsertRequest.Builder |
Builder used to create new SessionInsertRequest.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Adds the specified aggregate data point for this request.
| |||||||||||
Adds the specified data set for this request.
| |||||||||||
Finishes building and returns the request.
| |||||||||||
Sets the session for this request.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||||||||||||||||||||||||
Adds the specified aggregate data point for this request. Only one aggregate data point per data source is allowed for a session.
| IllegalArgumentException | if the data point is null |
|---|---|
| IllegalStateException | if an aggregate data point for this data source is already added |
Adds the specified data set for this request. Only one data set per data source is allowed for a session.
| IllegalArgumentException | if the data set is null or empty |
|---|---|
| IllegalStateException | if data set for this data source is already added |
Finishes building and returns the request.
| IllegalStateException | if the builder doesn't have enough state to create a valid request |
|---|