Agora Java API Reference for Android
|
Static Public Member Functions | |
static int | getValue (AudioScenario type) |
Sets the audio application scenarios.
io.agora.rtc.Constants.AudioScenario.DEFAULT =(Constants.AUDIO_SCENARIO_DEFAULT) |
0: Default audio scenario.
io.agora.rtc.Constants.AudioScenario.CHATROOM_ENTERTAINMENT =(Constants.AUDIO_SCENARIO_CHATROOM_ENTERTAINMENT) |
1: Entertainment scenario where users need to frequently switch the user role.
io.agora.rtc.Constants.AudioScenario.EDUCATION =(Constants.AUDIO_SCENARIO_EDUCATION) |
2: Education scenario where users want smoothness and stability.
io.agora.rtc.Constants.AudioScenario.GAME_STREAMING =(Constants.AUDIO_SCENARIO_GAME_STREAMING) |
3: High-quality audio chatroom scenario where hosts mainly play music.
io.agora.rtc.Constants.AudioScenario.SHOWROOM =(Constants.AUDIO_SCENARIO_SHOWROOM) |
4: Showroom scenario where a single host wants high-quality audio.
io.agora.rtc.Constants.AudioScenario.CHATROOM_GAMING =(Constants.AUDIO_SCENARIO_CHATROOM_GAMING) |
5: Gaming scenario for group chat that only contains the human voice.
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.
io.agora.rtc.Constants.AudioScenario.MEETING =(Constants.AUDIO_SCENARIO_MEETING) |
8: Meeting scenario that mainly contains the human voice.