Interface RpcBatch.Callback<T> (2.26.0)

public static interface RpcBatch.Callback<T>

An interface for batch callbacks.

Type Parameter

NameDescription
T

Methods

onFailure(GoogleJsonError googleJsonError)

public abstract void onFailure(GoogleJsonError googleJsonError)

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

Parameter
NameDescription
googleJsonErrorcom.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
NameDescription
responseT