Agora C++ API Reference for All Platforms

Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
agora::UserInfo Struct Reference

`#include <AgoraBase.h>`

## Public Member Functions
| UserInfo ()

## Public Attributes
util::AString | userId
bool | hasAudio
bool | hasVideo

## Constructor & Destructor Documentation

## ◆ UserInfo()

agora::UserInfo::UserInfo | ( |  | ) |
| inline

## Member Data Documentation

## ◆ userId

util::AString agora::UserInfo::userId

ID of the user.

## ◆ hasAudio

bool agora::UserInfo::hasAudio

Whether the user has enabled audio:

- true: The user has enabled audio.
- false: The user has disabled audio.

## ◆ hasVideo

bool agora::UserInfo::hasVideo

Whether the user has enabled video:

- true: The user has enabled video.
- false: The user has disabled video.