◆ onRtmData()
void io.agora.rtc.AgoraRtmEvents.onRtmData |
( |
String |
rtm_uid, |
|
|
byte[] |
data |
|
) |
| |
Occurs when the local user receives an RTM message.
- Parameters
-
rtm_uid | The remote RTM user ID who sends the RTM message. |
data | The RTM message that the local user receives. |
◆ onRtmEvent()
void io.agora.rtc.AgoraRtmEvents.onRtmEvent |
( |
String |
rtm_uid, |
|
|
int |
event_type, |
|
|
int |
err_code |
|
) |
| |
Occurs when an RTM event occurs.
- Parameters
-
◆ onSendRtmDataResult()
void io.agora.rtc.AgoraRtmEvents.onSendRtmDataResult |
( |
int |
message_id, |
|
|
int |
err_code |
|
) |
| |
Reports the result of the sendRtm
method call.
- Parameters
-
message_id | RTM message ID. |
err_code | Error code number. See RtmErrCode. |
The documentation for this interface was generated from the following file: