BatchResult | Android Developers

Quicknav Quicknav
Links

- Google Play Developer Console
- Android Developers Blog
- About Android

Android Sites

- Android.com
- Android Developers
- Android Open Source Project

Language
close

- - Get Started
  - Style
  - Patterns
  - Building Blocks
  - Downloads
  - Videos
- - Training
  - API Guides
  - Reference
  - Tools
    - Get the SDK
  - Google Services
  - Samples
- - Google Play
  - Essentials
  - Get Users
  - Engage & Retain
  - Monetize
  - Tools & Reference
  - Developer Stories

## Results

Loading...
Summary: Methods | Inherited Methods | [Expand All]
public final class

# BatchResult

extends Object
implements Result

java.lang.Object
↳ | com.google.android.gms.common.api.BatchResult

## Class Overview

The result of a batch operation. The result status is successful if and only if all results are successful. Individual results can be retrieved using `BatchResultToken` objects.

## Summary

Public Methods
Status | getStatus()
<R extends Result> R | take(BatchResultToken<R> resultToken) Claims a result from the batch.

[Expand] Inherited Methods
From class java.lang.Object
Object | clone()
boolean | equals(Object arg0)
void | finalize()
final Class<?> | getClass()
int | hashCode()
final void | notify()
final void | notifyAll()
String | toString()
final void | wait()
final void | wait(long arg0, int arg1)
final void | wait(long arg0)
From interface com.google.android.gms.common.api.Result
abstract Status | getStatus()

## Public Methods

#### public Status getStatus ()

#### public R take (BatchResultToken<R> resultToken)

Claims a result from the batch. Taking a result out of the batch has the effect of removing it.