public interface CompletionListener
| Modifier and Type | Interface and Description |
|---|---|
static class |
CompletionListener.FromCallback |
static class |
CompletionListener.Multicaster
A Multicaster instance is used in the Ably library to manage a list
of client listeners against certain operations.
|
static class |
CompletionListener.ToCallback |
| Modifier and Type | Method and Description |
|---|---|
void |
onError(ErrorInfo reason)
Called when the associated operation completes with an error.
|
void |
onSuccess()
Called when the associated operation completes successfully,
|
void onSuccess()
void onError(ErrorInfo reason)
reason: - information about the error.