Agora Java API Reference for Android
Static Public Member Functions | Public Attributes | List of all members
io.agora.rtc2.Constants.AudioScenario Enum Reference

Static Public Member Functions

static int getValue (AudioScenario type)
 

Public Attributes

 DEFAULT =(Constants.AUDIO_SCENARIO_DEFAULT)
 
 CHATROOM_ENTERTAINMENT =(Constants.AUDIO_SCENARIO_CHATROOM_ENTERTAINMENT)
 
 EDUCATION =(Constants.AUDIO_SCENARIO_EDUCATION)
 
 GAME_STREAMING =(Constants.AUDIO_SCENARIO_GAME_STREAMING)
 
 SHOWROOM =(Constants.AUDIO_SCENARIO_SHOWROOM)
 
 CHATROOM_GAMING =(Constants.AUDIO_SCENARIO_CHATROOM_GAMING)
 
 HIGH_DEFINITION =(Constants.AUDIO_SCENARIO_HIGH_DEFINITION)
 

Detailed Description

Sets the audio application scenarios.

Member Data Documentation

◆ DEFAULT

io.agora.rtc2.Constants.AudioScenario.DEFAULT =(Constants.AUDIO_SCENARIO_DEFAULT)

0: (Recommended) The default audio scenario.

◆ CHATROOM_ENTERTAINMENT

io.agora.rtc2.Constants.AudioScenario.CHATROOM_ENTERTAINMENT =(Constants.AUDIO_SCENARIO_CHATROOM_ENTERTAINMENT)

1: The entertainment scenario, which upports voice during gameplay.

◆ EDUCATION

io.agora.rtc2.Constants.AudioScenario.EDUCATION =(Constants.AUDIO_SCENARIO_EDUCATION)

2: The education scenario, which prioritizes fluency and stability.

◆ GAME_STREAMING

io.agora.rtc2.Constants.AudioScenario.GAME_STREAMING =(Constants.AUDIO_SCENARIO_GAME_STREAMING)

3: (Recommended) The live gaming scenario, which needs to enable the gaming audio effects in the speaker mode in a live broadcast scenario. Choose this scenario to achieve high-fidelity music playback.

◆ SHOWROOM

io.agora.rtc2.Constants.AudioScenario.SHOWROOM =(Constants.AUDIO_SCENARIO_SHOWROOM)

4: The showroom scenario, which optimizes the audio quality with professional external equipment.

◆ CHATROOM_GAMING

io.agora.rtc2.Constants.AudioScenario.CHATROOM_GAMING =(Constants.AUDIO_SCENARIO_CHATROOM_GAMING)

5: The gaming scenario.

◆ HIGH_DEFINITION

io.agora.rtc2.Constants.AudioScenario.HIGH_DEFINITION =(Constants.AUDIO_SCENARIO_HIGH_DEFINITION)

6: (Recommended) High definition.