A contract that takes a Task<T>
and optionally returns its result T? if the task completes successfully.
Supports contracts that are only interested in receiving the result without any associated
information about the operation.
Public Constructor Summary
Inherited Method Summary
From class
androidx.activity.result.contract.ActivityResultContract
|
abstract Intent
|
|
| SynchronousResult<T> |
|
| abstract T |
parseResult(int arg0, Intent
arg1)
|
From class java.lang.Object
|
Object
|
clone()
|
| boolean |
|
| void |
finalize()
|
|
final Class<?>
|
getClass()
|
| int |
hashCode()
|
| final void |
notify()
|
| final void |
notifyAll()
|
|
String
|
toString()
|
| final void |
wait(long arg0, int arg1)
|
| final void |
wait(long arg0)
|
| final void |
wait()
|
Public Constructors
public UnpackApiTaskResult ()
Protected Methods
protected T outputFromTask (Task<T>
task)
Extracts a result from a given Task if it is
completed successfully.