◆ ~IRtmServiceEventHandler()
◆ onLoginSuccess()
virtual void onLoginSuccess |
( |
| ) |
|
|
inlinevirtual |
Occurs when the user successfully logs in the RTM service.
◆ onLoginFailure()
Occurs when the user fails to log in the RTM service.
- Parameters
-
◆ onLogout()
virtual void onLogout |
( |
| ) |
|
|
inlinevirtual |
Occurs when the user successfully logs out of the RTM service.
◆ onConnectionStateChanged()
Occurs when the connection state of the local user has changed.
- Parameters
-
◆ onSendMessageState()
Reports the state of sending a message.
- Parameters
-
◆ onMessageReceivedFromPeer()
virtual void onMessageReceivedFromPeer |
( |
const char * |
peerId, |
|
|
const IMessage * |
message |
|
) |
| |
|
inlinevirtual |
Occurs when the local user receives a message from a remote user.
- Parameters
-
peerId | ID of the remote user that sends the message. |
message | The pointer to the message: IMessage. |