ZegoLiveAudioRoomSeatConfig constructor
ZegoLiveAudioRoomSeatConfig({
- ZegoLiveAudioRoomLayoutConfig? layout,
- Point<
double> ? topLeft, - Size? containerSize,
- ZegoLiveAudioRoomAudioVideoContainerBuilder? containerBuilder,
- int takeIndexWhenJoining = -1,
- bool canAutoSwitchOnClicked(
- int seatIndex
- int takeIndexWhenAudienceRequesting(
- ZegoUIKitUser user
- bool closeWhenJoining = true,
- List<
int> hostIndexes = const [0], - Image? openIcon,
- Image? closeIcon,
- bool showSoundWaveInAudioMode = true,
- Color? soundWaveColor,
- ZegoAvatarBuilder? avatarBuilder,
- bool keepOriginalForeground = false,
- ZegoAudioVideoViewForegroundBuilder? foregroundBuilder,
- ZegoAudioVideoViewBackgroundBuilder? backgroundBuilder,
- Image? hostRoleIcon,
- Image? coHostRoleIcon,
- Image? microphoneOffIcon,
Implementation
ZegoLiveAudioRoomSeatConfig({
ZegoLiveAudioRoomLayoutConfig? layout,
this.topLeft,
this.containerSize,
this.containerBuilder,
this.takeIndexWhenJoining = -1,
this.canAutoSwitchOnClicked,
this.takeIndexWhenAudienceRequesting,
this.closeWhenJoining = true,
this.hostIndexes = const [0],
this.openIcon,
this.closeIcon,
this.showSoundWaveInAudioMode = true,
this.soundWaveColor,
this.avatarBuilder,
this.keepOriginalForeground = false,
this.foregroundBuilder,
this.backgroundBuilder,
this.hostRoleIcon,
this.coHostRoleIcon,
this.microphoneOffIcon,
}) : layout = layout ?? ZegoLiveAudioRoomLayoutConfig();