Agora Java API Reference for Android

Static Public Attributes | List of all members
io.agora.rtc2.IRtcEngineEventHandler.ClientRole Class Reference

## Static Public Attributes
static final int | CLIENT_ROLE_BROADCASTER = Constants.CLIENT_ROLE_BROADCASTER
static final int | CLIENT_ROLE_AUDIENCE = Constants.CLIENT_ROLE_AUDIENCE

## Detailed Description

Deprecated:
  Use the new Constants class with the same constants value

## Member Data Documentation

## ◆ CLIENT_ROLE_BROADCASTER

final int io.agora.rtc2.IRtcEngineEventHandler.ClientRole.CLIENT_ROLE_BROADCASTER = Constants.CLIENT_ROLE_BROADCASTER
| static

The host in a live broadcast.

## ◆ CLIENT_ROLE_AUDIENCE

final int io.agora.rtc2.IRtcEngineEventHandler.ClientRole.CLIENT_ROLE_AUDIENCE = Constants.CLIENT_ROLE_AUDIENCE
| static

The audience in a live broadcast.