◆ RtcConnInfo() [1/2]
io.agora.rtc.RtcConnInfo.RtcConnInfo |
( |
| ) |
|
◆ RtcConnInfo() [2/2]
io.agora.rtc.RtcConnInfo.RtcConnInfo |
( |
int |
id, |
|
|
java.lang.String |
channelId, |
|
|
int |
state, |
|
|
java.lang.String |
localUserId, |
|
|
int |
internalUid |
|
) |
| |
Constructor.
- Parameters
-
id | |
channelId | |
state | Connection state.
- 1: The SDK is disconnected from the server.
- 2: The SDK is connecting to the server.
- 3: The SDK is connected to the server and has joined a channel. You can now publish or subscribe to a track in the channel.
- 4: The SDK keeps rejoining the channel after being disconnected from the channel, probably because of network issues.
- 5: The SDK fails to connect to the server or join the channel.
|
localUserId | |
internalUid | |
◆ getChannelId()
java.lang.String io.agora.rtc.RtcConnInfo.getChannelId |
( |
| ) |
|
◆ getId()
int io.agora.rtc.RtcConnInfo.getId |
( |
| ) |
|
◆ getInternalUid()
int io.agora.rtc.RtcConnInfo.getInternalUid |
( |
| ) |
|
◆ getLocalUserId()
java.lang.String io.agora.rtc.RtcConnInfo.getLocalUserId |
( |
| ) |
|
◆ getState()
int io.agora.rtc.RtcConnInfo.getState |
( |
| ) |
|
◆ setChannelId()
void io.agora.rtc.RtcConnInfo.setChannelId |
( |
java.lang.String |
channelId | ) |
|
◆ setId()
void io.agora.rtc.RtcConnInfo.setId |
( |
int |
id | ) |
|
◆ setInternalUid()
void io.agora.rtc.RtcConnInfo.setInternalUid |
( |
int |
internalUid | ) |
|
◆ setLocalUserId()
void io.agora.rtc.RtcConnInfo.setLocalUserId |
( |
java.lang.String |
localUserId | ) |
|
◆ setState()
void io.agora.rtc.RtcConnInfo.setState |
( |
int |
state | ) |
|
The documentation for this class was generated from the following file: