public class Fitness.Users.Sessions extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
Fitness.Users.Sessions.Delete |
class |
Fitness.Users.Sessions.List |
class |
Fitness.Users.Sessions.Update |
| Constructor and Description |
|---|
Sessions() |
| Modifier and Type | Method and Description |
|---|---|
Fitness.Users.Sessions.Delete |
delete(String userId,
String sessionId)
Deletes a session specified by the given session ID.
|
Fitness.Users.Sessions.List |
list(String userId)
Lists sessions previously created.
|
Fitness.Users.Sessions.Update |
update(String userId,
String sessionId,
Session content)
Updates or insert a given session.
|
public Fitness.Users.Sessions.Delete delete(String userId, String sessionId) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.userId - Delete a session for the person identified. Use me to indicate the authenticated user. Only me is
supported at this time.sessionId - The ID of the session to be deleted.IOExceptionpublic Fitness.Users.Sessions.List list(String userId) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.userId - List sessions for the person identified. Use me to indicate the authenticated user. Only me is
supported at this time.IOExceptionpublic Fitness.Users.Sessions.Update update(String userId, String sessionId, Session content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.userId - Create sessions for the person identified. Use me to indicate the authenticated user. Only me is
supported at this time.sessionId - The ID of the session to be created.content - the SessionIOExceptionCopyright © 2011–2022 Google. All rights reserved.