ZegoLiveAudioRoomSeatConfig constructor
ZegoLiveAudioRoomSeatConfig({
- ZegoLiveAudioRoomLayoutConfig? layout,
- int takeIndexWhenJoining = -1,
- bool closeWhenJoining = true,
- List<
int> hostIndexes = const [0], - Image? openIcon,
- Image? closeIcon,
- bool showSoundWaveInAudioMode = true,
- ZegoAvatarBuilder? avatarBuilder,
- bool keepOriginalForeground = false,
- ZegoAudioVideoViewForegroundBuilder? foregroundBuilder,
- ZegoAudioVideoViewBackgroundBuilder? backgroundBuilder,
- Image? hostRoleIcon,
- Image? coHostRoleIcon,
- 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();