Interface RpcBatch.Callback<T> (2.40.1)

public static interface RpcBatch.Callback<T>

An interface for batch callbacks.

Type Parameter

Name Description
T

Methods

onFailure(GoogleJsonError googleJsonError)

public abstract void onFailure(GoogleJsonError googleJsonError)

This method will be called upon failure of the batch operation.

Parameter
Name Description
googleJsonError com.google.api.client.googleapis.json.GoogleJsonError

onSuccess(T response)

public abstract void onSuccess(T response)

This method will be called upon success of the batch operation.

Parameter
Name Description
response T