类 | |
class | RtmEventType |
Public 成员函数 | |
void | onRtmData (String rtm_uid, byte[] data) |
void | onRtmEvent (String rtm_uid, int event_type, int err_code) |
void | onSendRtmDataResult (int message_id, int err_code) |
云信令 (原 RTM) 事件。
void io.agora.rtc.AgoraRtmEvents.onRtmData | ( | String | rtm_uid, |
byte[] | data | ||
) |
云信令 (原 RTM) 消息回调。
rtm_uid | 发送消息的云信令 (原 RTM) 用户 ID。 |
data | 收到的消息内容。 |
void io.agora.rtc.AgoraRtmEvents.onRtmEvent | ( | String | rtm_uid, |
int | event_type, | ||
int | err_code | ||
) |
云信令 (原 RTM) 事件回调。
rtm_uid | 云信令 (原 RTM) 用户 ID。 |
event_type | 事件类型。详见 AgoraRtmEvents 。 |
err_code | 错误码。详见 RtmErrCode 。 |
void io.agora.rtc.AgoraRtmEvents.onSendRtmDataResult | ( | int | message_id, |
int | err_code | ||
) |
sendRtm
方法调用结果回调。
message_id | 消息 ID。 |
err_code | 错误码。详见 RtmErrCode 。 |