LeaveChannelOptions

Used to set behavior options when leaving a channel.

struct LeaveChannelOptions {
  bool stopAudioMixing;
  bool stopAllEffect;
  bool stopMicrophoneRecording;
};

Properties

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