public interface IPMessagingClientListener
Modifier and Type | Method and Description |
---|---|
void |
onChannelAdd(Channel channel)
Called when the current user adds a channel to their list of channels.
|
void |
onChannelChange(Channel channel)
Called when one the channel of the current user is changed.
|
void |
onChannelDelete(Channel channel)
Called when one of the channel of the current user is deleted.
|
void |
onChannelSynchronizationChange(Channel channel)
Called when channel synchronization status changed.
|
void |
onClientSynchronization(TwilioIPMessagingClient.SynchronizationStatus status)
Called when client synchronization status changes
|
void |
onError(ErrorInfo errorInfo)
Called when an errorInfo condition occurs.
|
void |
onUserInfoChange(UserInfo userInfo)
Called when user info is updated for currently loaded users
|
void onChannelAdd(Channel channel)
channel
- The channel that got added.void onChannelChange(Channel channel)
channel
- The channel that changed.void onChannelDelete(Channel channel)
channel
- The channel that got deleted.void onChannelSynchronizationChange(Channel channel)
channel
- Callback for this Channel.void onError(ErrorInfo errorInfo)
errorInfo
- ErrorInfo
Object containing errorInfo infovoid onUserInfoChange(UserInfo userInfo)
userInfo
- Callback for this UserInfo.void onClientSynchronization(TwilioIPMessagingClient.SynchronizationStatus status)
status
- new client synchronization status