public abstract class StatusListener
extends java.lang.Object
onError(com.twilio.chat.ErrorInfo)
. You are only required to define onSuccess()
.
Status listeners are always called on the originating thread or on main UI thread if
the originating thread did not have a Looper.Constructor and Description |
---|
StatusListener() |
Modifier and Type | Method and Description |
---|---|
void |
onError(ErrorInfo errorInfo)
Callback to report error status of an asynchronous call to the back end.
|
abstract void |
onSuccess()
Callback to report success status of an asynchronous call to the back end.
|
public abstract void onSuccess()
public void onError(ErrorInfo errorInfo)
errorInfo
- Object containing error information.