public static interface StatusConnectionTask.StatusCallback
Modifier and Type | Method and Description |
---|---|
void |
onFailed(ApiCallException exception)
This method will be called on the Main Thread if there was an error retrieving the Status.
|
void |
onSuccess(StatusResponse statusResponse)
This method will be called on the Main Thread when the Status is received.
|
void onSuccess(StatusResponse statusResponse)
statusResponse
- The requested status.void onFailed(ApiCallException exception)
exception
- The reason why the call failed.