public interface NexmoRequestListener<T>
Modifier and Type | Method and Description |
---|---|
void |
onError(NexmoApiError error)
A request has encountered an error.
|
void |
onSuccess(T result)
A request has completed successfully.
|
void onError(NexmoApiError error)
error
- The exception describing the error.void onSuccess(T result)
result
- The result.