java.lang.Object | |
↳ | com.google.android.gms.fitness.result.SessionStopResult |
Result of stopSession(GoogleApiClient, String)
.
The method getStatus()
can be be used to confirm if the request was successful.
In case the calling app is missing the required permissions, the returned status has status
code set to NEEDS_OAUTH_PERMISSIONS
. In this case the
caller should use startResolutionForResult(Activity, int)
to start an intent
to get the necessary consent from the user before retrying the request.
[Expand]
Inherited Constants | |||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
![]()
|
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
CREATOR |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the list of sessions that were stopped by the request.
| |||||||||||
Returns the status of the call to Google Fit.
| |||||||||||
[Expand]
Inherited Methods | |||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||||||||||||||||||||||||
![]() | |||||||||||||||||||||||||||||||||
![]() |
Returns the list of sessions that were stopped by the request. Returns an empty list if no active session was stopped.
Returns the status of the call to Google Fit. isSuccess()
can be used to
determine whether the call succeeded. In the case of failure, you can inspect the status to
determine the reason.