Server Gateway SDK v3.7.200.21 for Linux Java
Public Member Functions | List of all members
io.agora.rtc.RtcConnInfo Class Reference

Public Member Functions

 RtcConnInfo ()
 RtcConnInfo (int id, java.lang.String channelId, int state, java.lang.String localUserId, int internalUid)
int getId ()
void setId (int id)
java.lang.String getChannelId ()
void setChannelId (java.lang.String channelId)
int getState ()
void setState (int state)
java.lang.String getLocalUserId ()
void setLocalUserId (java.lang.String localUserId)
int getInternalUid ()
void setInternalUid (int internalUid)

Detailed Description

The RtcConnInfo class.

Constructor & Destructor Documentation

◆ 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 


stateConnection 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.

Member Function Documentation

◆ 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: