Agora Java API Reference for Android
Public Member Functions | Public Attributes | List of all members
io.agora.rtc2.LeaveChannelOptions Class Reference

The options for leaving a channel. More...

Public Member Functions

boolean isStopAudioMixing ()
 
boolean isStopAllEffect ()
 
boolean isStopMicrophoneRecording ()
 
String toString ()
 

Public Attributes

boolean stopAudioMixing
 
boolean stopAllEffect
 
boolean stopMicrophoneRecording
 

Detailed Description

The options for leaving a channel.

Member Data Documentation

◆ stopAudioMixing

boolean io.agora.rtc2.LeaveChannelOptions.stopAudioMixing

Whether to stop playing and mixing the music file when a user leaves the channel.

  • true: (Default) Stop playing and mixing the music file.
  • false: Do not stop playing and mixing the music file.

◆ stopAllEffect

boolean io.agora.rtc2.LeaveChannelOptions.stopAllEffect

Whether to stop playing all audio effects when a user leaves the channel.

  • true: (Default) Stop playing all audio effects.
  • false: Do not stop playing any audio effect.

◆ stopMicrophoneRecording

boolean io.agora.rtc2.LeaveChannelOptions.stopMicrophoneRecording

Whether to stop microphone recording when a user leaves the channel.

  • true: (Default) Stop microphone recording.
  • false: Do not stop microphone recording.