public class RtcConnInfo
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
channelId
Channel identifier
|
private int |
id
Unique identifier for the connection
|
private int |
internalUid
Internal user identifier
|
private java.lang.String |
localUserId
Local user identifier
|
private int |
state
Current state of the connection
|
| Constructor and Description |
|---|
RtcConnInfo()
Default constructor for RtcConnInfo.
|
RtcConnInfo(int id,
java.lang.String channelId,
int state,
java.lang.String localUserId,
int internalUid)
Constructs RtcConnInfo with all parameters.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getChannelId()
Gets the channel identifier.
|
int |
getId()
Gets the unique identifier for the connection.
|
int |
getInternalUid()
Gets the internal user identifier.
|
java.lang.String |
getLocalUserId()
Gets the local user identifier.
|
int |
getState()
Gets the current state of the connection.
|
void |
setChannelId(java.lang.String channelId)
Sets the channel identifier.
|
void |
setId(int id)
Sets the unique identifier for the connection.
|
void |
setInternalUid(int internalUid)
Sets the internal user identifier.
|
void |
setLocalUserId(java.lang.String localUserId)
Sets the local user identifier.
|
void |
setState(int state)
Sets the current state of the connection.
|
java.lang.String |
toString() |
private int id
private java.lang.String channelId
private int state
private java.lang.String localUserId
private int internalUid
public RtcConnInfo()
public RtcConnInfo(int id,
java.lang.String channelId,
int state,
java.lang.String localUserId,
int internalUid)
id - Unique identifier for the connectionchannelId - Channel identifierstate - Current state of the connectionlocalUserId - Local user identifierinternalUid - Internal user identifierpublic int getId()
public void setId(int id)
id - Unique identifier for the connectionpublic java.lang.String getChannelId()
public void setChannelId(java.lang.String channelId)
channelId - Channel identifierpublic int getState()
public void setState(int state)
state - Current state of the connectionpublic java.lang.String getLocalUserId()
public void setLocalUserId(java.lang.String localUserId)
localUserId - Local user identifierpublic int getInternalUid()
public void setInternalUid(int internalUid)
internalUid - Internal user identifierpublic java.lang.String toString()
toString in class java.lang.Object