Agora Java API Reference for Android
io.agora.rtc.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)
 
 IOT =(Constants.AUDIO_SCENARIO_IOT)
 
 MEETING =(Constants.AUDIO_SCENARIO_MEETING)
 

Detailed Description

Sets the audio application scenarios.

Member Data Documentation

◆ DEFAULT

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

0: Default audio scenario.

◆ CHATROOM_ENTERTAINMENT

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

1: Entertainment scenario where users need to frequently switch the user role.

◆ EDUCATION

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

2: Education scenario where users want smoothness and stability.

◆ GAME_STREAMING

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

3: High-quality audio chatroom scenario where hosts mainly play music.

◆ SHOWROOM

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

4: Showroom scenario where a single host wants high-quality audio.

◆ CHATROOM_GAMING

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

5: Gaming scenario for group chat that only contains the human voice.

◆ IOT

io.agora.rtc.Constants.AudioScenario.IOT =(Constants.AUDIO_SCENARIO_IOT)

6: IoT (Internet of Things) scenario where users use IoT devices with low power consumption.

◆ MEETING

io.agora.rtc.Constants.AudioScenario.MEETING =(Constants.AUDIO_SCENARIO_MEETING)

8: Meeting scenario that mainly contains the human voice.

Since
v3.2.0