| Package | Description |
|---|---|
| com.google.api.services.fitness | |
| com.google.api.services.fitness.model |
| Modifier and Type | Method and Description |
|---|---|
Fitness.Users.Sessions.Update |
Fitness.Users.Sessions.update(String userId,
String sessionId,
Session content)
Updates or insert a given session.
|
| Constructor and Description |
|---|
Update(String userId,
String sessionId,
Session content)
Updates or insert a given session.
|
| Modifier and Type | Method and Description |
|---|---|
Session |
Session.clone() |
Session |
AggregateBucket.getSession()
Available for Bucket.Type.SESSION
|
Session |
Session.set(String fieldName,
Object value) |
Session |
Session.setActiveTimeMillis(Long activeTimeMillis)
Session active time.
|
Session |
Session.setActivityType(Integer activityType)
The type of activity this session represents.
|
Session |
Session.setApplication(Application application)
The application that created the session.
|
Session |
Session.setDescription(String description)
A description for this session.
|
Session |
Session.setEndTimeMillis(Long endTimeMillis)
An end time, in milliseconds since epoch, inclusive.
|
Session |
Session.setId(String id)
A client-generated identifier that is unique across all sessions owned by this particular user.
|
Session |
Session.setModifiedTimeMillis(Long modifiedTimeMillis)
A timestamp that indicates when the session was last modified.
|
Session |
Session.setName(String name)
A human readable name of the session.
|
Session |
Session.setStartTimeMillis(Long startTimeMillis)
A start time, in milliseconds since epoch, inclusive.
|
| Modifier and Type | Method and Description |
|---|---|
List<Session> |
ListSessionsResponse.getDeletedSession()
If includeDeleted is set to true in the request, and startTime and endTime are omitted, this
will include sessions which were deleted since the last sync.
|
List<Session> |
ListSessionsResponse.getSession()
Sessions with an end time that is between startTime and endTime of the request.
|
| Modifier and Type | Method and Description |
|---|---|
AggregateBucket |
AggregateBucket.setSession(Session session)
Available for Bucket.Type.SESSION
|
| Modifier and Type | Method and Description |
|---|---|
ListSessionsResponse |
ListSessionsResponse.setDeletedSession(List<Session> deletedSession)
If includeDeleted is set to true in the request, and startTime and endTime are omitted, this
will include sessions which were deleted since the last sync.
|
ListSessionsResponse |
ListSessionsResponse.setSession(List<Session> session)
Sessions with an end time that is between startTime and endTime of the request.
|
Copyright © 2011–2021 Google. All rights reserved.