Agora C++ API Reference for All Platforms

Public Member Functions | Public Attributes | List of all members
agora::rtc::TConnectionInfo Struct Reference

## Public Member Functions
| TConnectionInfo ()

## Public Attributes
conn_id_t | id
util::AString | channelId
CONNECTION_STATE_TYPE | state
util::AString | localUserId
uid_t | internalUid
int | proxyType
util::AString | connectionIp

## Detailed Description

The information of an RTC Connection.

## Constructor & Destructor Documentation

## ◆ TConnectionInfo()

agora::rtc::TConnectionInfo::TConnectionInfo | ( |  | ) |
| inline

## Member Data Documentation

## ◆ id

conn_id_t agora::rtc::TConnectionInfo::id

The ID of the RTC Connection.

## ◆ channelId

util::AString agora::rtc::TConnectionInfo::channelId

The ID of the channel. If you have not called connect, this member is `NULL`.

## ◆ state

CONNECTION_STATE_TYPE agora::rtc::TConnectionInfo::state

The connection state: CONNECTION_STATE_TYPE.

## ◆ localUserId

util::AString agora::rtc::TConnectionInfo::localUserId

The ID of the local user.

## ◆ internalUid

uid_t agora::rtc::TConnectionInfo::internalUid

Internal use only.

## ◆ proxyType

int agora::rtc::TConnectionInfo::proxyType

## ◆ connectionIp

util::AString agora::rtc::TConnectionInfo::connectionIp