TUIRoomObserver constructor
TUIRoomObserver({
- OnError? onError,
- OnKickedOffLine? onKickedOffLine,
- OnUserSigExpired? onUserSigExpired,
- OnRoomNameChanged? onRoomNameChanged,
- OnAllUserMicrophoneDisableChanged? onAllUserMicrophoneDisableChanged,
- OnAllUserCameraDisableChanged? onAllUserCameraDisableChanged,
- OnSendMessageForAllUserDisableChanged? onSendMessageForAllUserDisableChanged,
- OnRoomDismissed? onRoomDismissed,
- OnKickedOutOfRoom? onKickedOutOfRoom,
- OnRoomSeatModeChanged? onRoomSeatModeChanged,
- OnRoomUserCountChanged? onRoomUserCountChanged,
- OnRemoteUserEnterRoom? onRemoteUserEnterRoom,
- OnRemoteUserLeaveRoom? onRemoteUserLeaveRoom,
- OnUserRoleChanged? onUserRoleChanged,
- OnUserInfoChanged? onUserInfoChanged,
- OnUserVideoStateChanged? onUserVideoStateChanged,
- OnUserAudioStateChanged? onUserAudioStateChanged,
- OnUserVoiceVolumeChanged? onUserVoiceVolumeChanged,
- OnSendMessageForUserDisableChanged? onSendMessageForUserDisableChanged,
- OnUserNetworkQualityChanged? onUserNetworkQualityChanged,
- OnUserScreenCaptureStopped? onUserScreenCaptureStopped,
- OnRoomMaxSeatCountChanged? onRoomMaxSeatCountChanged,
- OnSeatListChanged? onSeatListChanged,
- OnKickedOffSeat? onKickedOffSeat,
- OnRequestReceived? onRequestReceived,
- OnRequestCancelled? onRequestCancelled,
- OnRequestProcessed? onRequestProcessed,
Implementation
TUIRoomObserver(
{OnError? onError,
OnKickedOffLine? onKickedOffLine,
OnUserSigExpired? onUserSigExpired,
OnRoomNameChanged? onRoomNameChanged,
OnAllUserMicrophoneDisableChanged? onAllUserMicrophoneDisableChanged,
OnAllUserCameraDisableChanged? onAllUserCameraDisableChanged,
OnScreenShareForAllUserDisableChanged?
onScreenShareForAllUserDisableChanged,
OnSendMessageForAllUserDisableChanged?
onSendMessageForAllUserDisableChanged,
OnRoomDismissed? onRoomDismissed,
OnKickedOutOfRoom? onKickedOutOfRoom,
OnRoomSeatModeChanged? onRoomSeatModeChanged,
OnRoomUserCountChanged? onRoomUserCountChanged,
OnRemoteUserEnterRoom? onRemoteUserEnterRoom,
OnRemoteUserLeaveRoom? onRemoteUserLeaveRoom,
OnUserRoleChanged? onUserRoleChanged,
OnUserInfoChanged? onUserInfoChanged,
OnUserVideoStateChanged? onUserVideoStateChanged,
OnUserAudioStateChanged? onUserAudioStateChanged,
OnUserVoiceVolumeChanged? onUserVoiceVolumeChanged,
OnSendMessageForUserDisableChanged? onSendMessageForUserDisableChanged,
OnUserNetworkQualityChanged? onUserNetworkQualityChanged,
OnUserScreenCaptureStopped? onUserScreenCaptureStopped,
OnRoomMaxSeatCountChanged? onRoomMaxSeatCountChanged,
OnSeatListChanged? onSeatListChanged,
OnKickedOffSeat? onKickedOffSeat,
OnRequestReceived? onRequestReceived,
OnRequestCancelled? onRequestCancelled,
OnRequestProcessed? onRequestProcessed}) {
if (onError != null) {
this.onError = onError;
}
if (onKickedOffLine != null) {
this.onKickedOffLine = onKickedOffLine;
}
if (onUserSigExpired != null) {
this.onUserSigExpired = onUserSigExpired;
}
if (onRoomNameChanged != null) {
this.onRoomNameChanged = onRoomNameChanged;
}
if (onAllUserMicrophoneDisableChanged != null) {
this.onAllUserMicrophoneDisableChanged =
onAllUserMicrophoneDisableChanged;
}
if (onAllUserCameraDisableChanged != null) {
this.onAllUserCameraDisableChanged = onAllUserCameraDisableChanged;
}
if (onScreenShareForAllUserDisableChanged != null) {
this.onScreenShareForAllUserDisableChanged =
onScreenShareForAllUserDisableChanged;
}
if (onSendMessageForAllUserDisableChanged != null) {
this.onSendMessageForAllUserDisableChanged =
onSendMessageForAllUserDisableChanged;
}
if (onRoomDismissed != null) {
this.onRoomDismissed = onRoomDismissed;
}
if (onKickedOutOfRoom != null) {
this.onKickedOutOfRoom = onKickedOutOfRoom;
}
if (onRoomSeatModeChanged != null) {
this.onRoomSeatModeChanged = onRoomSeatModeChanged;
}
if (onRoomUserCountChanged != null) {
this.onRoomUserCountChanged = onRoomUserCountChanged;
}
if (onRemoteUserEnterRoom != null) {
this.onRemoteUserEnterRoom = onRemoteUserEnterRoom;
}
if (onRemoteUserLeaveRoom != null) {
this.onRemoteUserLeaveRoom = onRemoteUserLeaveRoom;
}
if (onUserRoleChanged != null) {
this.onUserRoleChanged = onUserRoleChanged;
}
if (onUserInfoChanged != null) {
this.onUserInfoChanged = onUserInfoChanged;
}
if (onUserVideoStateChanged != null) {
this.onUserVideoStateChanged = onUserVideoStateChanged;
}
if (onUserAudioStateChanged != null) {
this.onUserAudioStateChanged = onUserAudioStateChanged;
}
if (onUserVoiceVolumeChanged != null) {
this.onUserVoiceVolumeChanged = onUserVoiceVolumeChanged;
}
if (onSendMessageForUserDisableChanged != null) {
this.onSendMessageForUserDisableChanged =
onSendMessageForUserDisableChanged;
}
if (onUserNetworkQualityChanged != null) {
this.onUserNetworkQualityChanged = onUserNetworkQualityChanged;
}
if (onUserScreenCaptureStopped != null) {
this.onUserScreenCaptureStopped = onUserScreenCaptureStopped;
}
if (onRoomMaxSeatCountChanged != null) {
this.onRoomMaxSeatCountChanged = onRoomMaxSeatCountChanged;
}
if (onSeatListChanged != null) {
this.onSeatListChanged = onSeatListChanged;
}
if (onKickedOffSeat != null) {
this.onKickedOffSeat = onKickedOffSeat;
}
if (onRequestReceived != null) {
this.onRequestReceived = onRequestReceived;
}
if (onRequestCancelled != null) {
this.onRequestCancelled = onRequestCancelled;
}
if (onRequestProcessed != null) {
this.onRequestProcessed = onRequestProcessed;
}
}