Agora Java API Reference for Android

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

The information of the user. More...

`#include <AgoraBase.h>`

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

## Detailed Description

The information of the user.

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