Agora Java API Reference for Android

Classes | Public Member Functions | Public Attributes | List of all members
io.agora.rtc2.RtcConnection Class Reference

## Classes
enum | CONNECTION_STATE_TYPE

## Public Member Functions
| RtcConnection (String channelId, int uid)
String | toString ()

## Public Attributes
int | localUid
String | channelId

## Detailed Description

The RtcConnection class.

## Member Data Documentation

## ◆ localUid

int io.agora.rtc2.RtcConnection.localUid

The user ID. A 32-bit unsigned integer with a value ranging from 1 to (2^32-1)

## ◆ channelId

String io.agora.rtc2.RtcConnection.channelId

The unique channel name for the AgoraRTC session in the string format. The string length must be less than 64 bytes. Supported character scopes are:

- All lowercase English letters: a to z.
- All uppercase English letters: A to Z.
- All numeric characters: 0 to 9.
- The space character.
- Punctuation characters and other symbols, including: "!", "#", "$", "%", "&", "(", ")", "+", "-", ":", ";", "<", "=", ".", ">", "?", "@", "[", "]", "^", "_", " {", "}", "|", "~", ",".