public interface QBMessageListener<T extends QBChat>
| Modifier and Type | Method and Description |
|---|---|
void |
processError(T sender,
QBChatException exception,
QBChatMessage message)
Process the next error sent to this message listener.
|
void |
processMessage(T sender,
QBChatMessage message)
Process the next message sent to this message listener.
|
void processMessage(T sender, QBChatMessage message)
sender - The chat context. Can be QBPrivateChat or QBGroupChat.message - The chat message.void processError(T sender, QBChatException exception, QBChatMessage message)
sender - The chat context. Can be QBPrivateChat or QBGroupChat.exception - The error entity.message - The origin chat message.