LeaveChannelOptions

Options for leaving a channel.

public class LeaveChannelOptions
    {
        public LeaveChannelOptions()
        {
            stopAudioMixing = true;
            stopAllEffect = true;
            stopMicrophoneRecording = true;
        }

        public bool stopAudioMixing { set; get; }
        public bool stopAllEffect { set; get; }
        public bool stopMicrophoneRecording { set; get; }
    };

Properties

stopAudioMixing
Whether to stop playing music files and audio mixing when leaving the channel:
  • true: (Default) Stop playing music files and audio mixing.
  • false: Do not stop playing music files and audio mixing.
stopAllEffect
Whether to stop playing sound effects when leaving the channel:
  • true: (Default) Stop playing sound effects.
  • false: Do not stop playing sound effects.
stopMicrophoneRecording
Whether to stop microphone capture when leaving the channel:
  • true: (Default) Stop microphone capture.
  • false: Do not stop microphone capture.