Agora C++ API Reference for All Platforms

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

## Public Member Functions
| UserInfo ()

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

## Detailed Description

The definition of the UserInfo struct.

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