RoomEngineNative class

Constructors

RoomEngineNative()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addCategoryTagForUsers(int tag, List<String> userList) Future<TUIActionCallback>
addObserver(TUIRoomObserver observer) → void
applyToAdminToOpenLocalDevice(TUIMediaDevice device, int timeout, TUIRequestCallback? requestCallback) TUIRequest
callAPI(String apiName, String jsonParam) Future<TUIValueCallBack<String>>
cancelRequest(String requestId) Future<TUIActionCallback>
changeUserNameCard(String userId, String nameCard) Future<TUIActionCallback>
changeUserRole(String userId, TUIRole role) Future<TUIActionCallback>
closeLocalCamera() → void
closeLocalMicrophone() → void
closeRemoteDeviceByAdmin(String userId, TUIMediaDevice device) Future<TUIActionCallback>
createEngine() → void
createRoom(TUIRoomInfo roomInfo) Future<TUIActionCallback>
destroyEngine() → void
destroyRoom() Future<TUIActionCallback>
disableDeviceForAllUserByAdmin(TUIMediaDevice device, bool isDisable) Future<TUIActionCallback>
disableSendingMessageByAdmin(String userId, bool isDisable) Future<TUIActionCallback>
disableSendingMessageForAllUser(bool isDisable) Future<TUIActionCallback>
enableGravitySensor(bool enable) → void
enterRoom(String roomId, TUIRoomType roomType, TUIEnterRoomOptions options) Future<TUIValueCallBack<TUIRoomInfo>>
exitRoom(bool syncWaiting) Future<TUIActionCallback>
fetchRoomInfo() Future<TUIValueCallBack<TUIRoomInfo>>
getConferenceListManager() Pointer<void>
getExtension(TUIExtensionType extensionType) Pointer<void>
getLiveListManager() Pointer<void>
getMediaDeviceManager() Pointer<void>
getSeatApplicationList() Future<TUIValueCallBack<List<TUIRequest>>>
getSeatList() Future<TUIValueCallBack<List<TUISeatInfo>>>
getUserInfo(String userId) Future<TUIValueCallBack<TUIUserInfo>>
getUserList(int nextSequence) Future<TUIValueCallBack<TUIUserListResult>>
getUserListByTag(int tag, int nextSequence) Future<TUIValueCallBack<TUIUserListResult>>
kickRemoteUserOutOfRoom(String userId) Future<TUIActionCallback>
kickUserOffSeatByAdmin(int seatIndex, String userId) Future<TUIActionCallback>
leaveSeat() Future<TUIActionCallback>
lockSeatByAdmin(int seatIndex, TUISeatLockParams lockParams) Future<TUIActionCallback>
moveToSeat(int targetSeatIndex) Future<TUIActionCallback>
muteLocalAudio() Future<TUIActionCallback>
muteRemoteAudioStream(String userId, bool isMute) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
openLocalCamera(bool isFront, TUIVideoQuality quality) Future<TUIActionCallback>
openLocalMicrophone(TUIAudioQuality quality) Future<TUIActionCallback>
openRemoteDeviceByAdmin(String userId, TUIMediaDevice device, int timeout, TUIRequestCallback? requestCallback) TUIRequest
removeCategoryTagForUsers(int tag, List<String> userList) Future<TUIActionCallback>
removeObserver(TUIRoomObserver observer) → void
responseRemoteRequest(String requestId, bool agree) Future<TUIActionCallback>
setCustomInfoForUser(String userId, Map<String, String> customInfo) Future<TUIActionCallback>
setLocalVideoView(int viewId) → void
setMaxSeatCount(int maxSeatCount) Future<TUIActionCallback>
setRemoteVideoView(String userId, TUIVideoStreamType streamType, int view) → void
setVideoResolutionMode(TUIVideoStreamType streamType, TUIResolutionMode resolutionMode) → void
startPlayRemoteVideo(String userId, TUIVideoStreamType streamType, TUIPlayCallback? playCallback) → void
startPushLocalAudio() → void
startPushLocalVideo() → void
startScreenSharing(String appGroup) → void
stopPlayRemoteVideo(String userId, TUIVideoStreamType streamType) → void
stopPushLocalAudio() → void
stopPushLocalVideo() → void
stopScreenSharing() → void
takeSeat(int seatIndex, int timeout, TUIRequestCallback? requestCallback) TUIRequest
takeUserOnSeatByAdmin(int seatIndex, String userId, int timeout, TUIRequestCallback? requestCallback) TUIRequest
toString() String
A string representation of this object.
inherited
unMuteLocalAudio() Future<TUIActionCallback>
updateAudioQuality(TUIAudioQuality quality) → void
updateRoomNameByAdmin(String roomName) Future<TUIActionCallback>
updateRoomPasswordByAdmin(String password) Future<TUIActionCallback>
updateRoomSeatModeByAdmin(TUISeatMode seatMode) Future<TUIActionCallback>
updateVideoQuality(TUIVideoQuality quality) → void
updateVideoQualityEx(TUIVideoStreamType streamType, TUIRoomVideoEncoderParams params) → void

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

addAttendeesByAdmin(String roomId, List<String> userIdList) Future<TUIActionCallback>
addConferenceListManagerObserver(TUIConferenceListManagerObserver observer) → void
addLiveListObserver(TUILiveListObserver observer) → void
callExperimentalAPI(String jsonStr) → void
cancelConference(String roomId) Future<TUIActionCallback>
enableCameraAutoFocus(bool enabled) → void
enableCameraTorch(bool enabled) → void
fetchAttendeeList(String roomId, String cursor, int count) Future<TUIValueCallBack<TUIScheduledAttendeesResult>>
fetchLiveList(String cursor, int count) Future<TUIValueCallBack<TUILiveListResult>>
fetchScheduledConferenceList(List<TUIConferenceStatus> status, String cursor, int count) Future<TUIValueCallBack<TUIScheduledConferenceListResult>>
getLiveInfo(String roomId) Future<TUIValueCallBack<TUILiveInfo>>
getSelfInfo() TUILoginUserInfo
isAutoFocusEnabled() bool
isFrontCamera() bool
login({required int sdkAppId, required String userId, required String userSig}) Future<TUIActionCallback>
logout() Future<TUIActionCallback>
removeAttendeesByAdmin(String roomId, List<String> userIdList) Future<TUIActionCallback>
removeConferenceListManagerObserver(TUIConferenceListManagerObserver observer) → void
removeLiveListObserver(TUILiveListObserver observer) → void
scheduleConference(TUIConferenceInfo conferenceInfo) Future<TUIActionCallback>
setAudioRoute(TUIAudioRoute route) → void
setLiveInfo(String roomId, {String? coverUrl, List<int>? categoryList, bool? isPublicVisible, int? activityStatus}) Future<TUIActionCallback>
setLoginUserInfo(TUILoginUserInfo userInfo) Future<TUIActionCallback>
setSelfInfo(String userName, String avatarURL) Future<TUIActionCallback>
switchCamera(bool frontCamera) → void
updateConferenceInfo(String roomId, {String? roomName, int? scheduleStartTime, int? scheduleEndTime}) Future<TUIActionCallback>