Agora RTC Objective-C API Reference Refactor

Data Fields
UserInfo Struct Reference

## Data Fields
util::AString | userId
bool | hasAudio
bool | hasVideo

## Detailed Description

The definition of the UserInfo struct.

## Constructor & Destructor Documentation

## ◆ UserInfo()

UserInfo | ( |  | ) |
| inline

## Field Documentation

## ◆ userId

util::AString userId

ID of the user.

## ◆ hasAudio

bool hasAudio

Whether the user has enabled audio:

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

## ◆ hasVideo

bool hasVideo

Whether the user has enabled video:

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