Builder for Batch objects.
Note that this class is not thread-safe, by design.
|
Batch.Builder(GoogleApiClient
googleApiClient)
|
| <R extends Result> BatchResultToken<R> | |
| Batch |
build()
|
Adds a PendingResult
to the batch. The returned token can be used to retrieve the result from the
BatchResult
passed to the result callback.
| pendingResult | Items to wait for completion of. |
|---|
BatchResult.