| Known Direct Subclasses |
A contract that takes a Task<T>
and yields an ApiTaskResult<T>
with the result and additional information about the operation.
This class abstracts common logic away from the implementer, like building errors from exceptions and intents, or relaying successful responses when a result is obtained.
| ApiTaskResult<T> |
parseResult(int resultCode, Intent
intent)
|
| ApiTaskResult<T> |
outputFromTask(Task<T> task)
Extracts a result from a given
Task if
it is completed successfully.
|
| abstract T |
Extracts a result from a given Task if it is
completed successfully.