ZegoLiveAudioRoomSeatConfig constructor

ZegoLiveAudioRoomSeatConfig({
  1. ZegoLiveAudioRoomLayoutConfig? layout,
  2. int takeIndexWhenJoining = -1,
  3. bool closeWhenJoining = true,
  4. List<int> hostIndexes = const [0],
  5. Image? openIcon,
  6. Image? closeIcon,
  7. bool showSoundWaveInAudioMode = true,
  8. ZegoAvatarBuilder? avatarBuilder,
  9. bool keepOriginalForeground = false,
  10. ZegoAudioVideoViewForegroundBuilder? foregroundBuilder,
  11. ZegoAudioVideoViewBackgroundBuilder? backgroundBuilder,
  12. Image? hostRoleIcon,
  13. Image? coHostRoleIcon,
  14. Image? microphoneOffIcon,
})

Implementation

ZegoLiveAudioRoomSeatConfig({
  ZegoLiveAudioRoomLayoutConfig? layout,
  this.takeIndexWhenJoining = -1,
  this.closeWhenJoining = true,
  this.hostIndexes = const [0],
  this.openIcon,
  this.closeIcon,
  this.showSoundWaveInAudioMode = true,
  this.avatarBuilder,
  this.keepOriginalForeground = false,
  this.foregroundBuilder,
  this.backgroundBuilder,
  this.hostRoleIcon,
  this.coHostRoleIcon,
  this.microphoneOffIcon,
}) : layout = layout ?? ZegoLiveAudioRoomLayoutConfig();