文档中心
云信令(原实时消息)
API 参考
Agora RTM Java API Reference for Android
Agora RTM Java API Reference for Linux
◆ getCalleeId()
String io.agora.rtm.LocalInvitation.getCalleeId |
( |
| ) |
|
◆ setContent()
void io.agora.rtm.LocalInvitation.setContent |
( |
String |
content | ) |
|
设置邀请内容。
- 参数
-
content | 邀请内容。若编码为 UTF-8, content 的对应的字节数不得超过 8 KB。 |
◆ getContent()
String io.agora.rtm.LocalInvitation.getContent |
( |
| ) |
|
◆ setChannelId()
void io.agora.rtm.LocalInvitation.setChannelId |
( |
String |
channelId | ) |
|
供主叫设置频道 ID。
Note 如需与老信令 SDK 互通,你必须设置频道 ID。不过,即使当被叫接受呼叫邀请,呼叫邀请成功结束,Agora RTM SDK 也不会加入指定频道。
- 参数
-
◆ getChannelId()
String io.agora.rtm.LocalInvitation.getChannelId |
( |
| ) |
|
◆ getResponse()
String io.agora.rtm.LocalInvitation.getResponse |
( |
| ) |
|
◆ getState()
int io.agora.rtm.LocalInvitation.getState |
( |
| ) |
|