SdkCore class

Inheritance
Annotations
  • @Singleton(as: WaterbusSdkInterface)

Constructors

SdkCore(SocketHandler _webSocket, SocketEmiter _socketEmiter, WhiteBoardManager _whiteBoardManager, WaterbusWebRTCManager _rtcManager, ReplayKitChannel _replayKitChannel, BaseRemoteData _baseRepository, AuthRepository _authRepository, MeetingRepository _meetingRepository, UserRepository _userRepository, ChatRepository _chatRepository, MessageRepository _messageRepository, WaterbusLogger _logger)

Properties

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

Methods

acceptInvite({required int meetingId}) Future<Meeting?>
override
addMember({required int code, required int userId}) Future<Meeting?>
override
archivedConversation({required int code}) Future<Meeting?>
override
changeCallSettings(CallSetting setting) Future<void>
override
checkUsername({required String username}) Future<bool>
override
cleanWhiteBoard() Future<void>
override
createRoom({required Meeting meeting, required String password, required int? userId}) Future<Meeting?>
override
createToken({required AuthPayloadModel payload}) Future<User?>
override
deleteConversation(int conversationId) Future<bool>
override
deleteMember({required int code, required int userId}) Future<Meeting?>
override
deleteMessage({required int messageId}) Future<MessageModel?>
override
deleteToken() Future<bool>
override
disableVirtualBackground() Future<void>
override
editMessage({required int messageId, required String data}) Future<MessageModel?>
override
enableVirtualBackground({required Uint8List backgroundImage, double thresholdConfidence = 0.7}) Future<void>
override
getArchivedConversations({int limit = 10, required int skip}) Future<List<Meeting>>
override
getConversations({required int skip, int limit = 10, int status = 2}) Future<List<Meeting>>
override
getMessageByRoom({required int meetingId, required int skip, int limit = 10}) Future<List<MessageModel>>
override
getPresignedUrl() Future<String?>
override
getProfile() Future<User?>
override
getRecords({required int skip, required int limit}) Future<List<RecordModel>>
override
getRoomInfo(int code) Future<Meeting?>
override
initializeApp() Future<void>
override
joinRoom({required Meeting meeting, required String password, required int? userId}) Future<Meeting?>
override
leaveConversation({required int code}) Future<Meeting?>
override
leaveRoom() Future<void>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
prepareMedia() Future<void>
override
reconnect() Future<void>
override
redoWhiteBoard() Future<void>
override
refreshToken() Future<bool>
override
searchUsers({required String keyword, required int skip, required int limit}) Future<List<User>>
override
sendMessage({required int meetingId, required String data}) Future<MessageModel?>
override
setPiPEnabled({required String textureId, bool enabled = true}) Future<void>
override
setSubscribeSubtitle(bool isEnabled) → void
override
startRecord() Future<int?>
override
startScreenSharing({DesktopCapturerSource? source}) Future<void>
override
startWhiteBoard() Future<void>
override
stopRecord() Future<bool>
override
stopScreenSharing() Future<void>
override
switchCamera() Future<void>
override
toggleAudio() Future<void>
override
toggleRaiseHand() → void
override
toggleSpeakerPhone() Future<void>
override
toggleVideo() Future<void>
override
toString() String
A string representation of this object.
inherited
undoWhiteBoard() Future<void>
override
updateConversation({required Meeting meeting, String? password}) Future<bool>
override
updateProfile({required User user}) Future<User?>
override
updateRoom({required Meeting meeting, required String password, required int? userId}) Future<Meeting?>
override
updateUsername({required String username}) Future<bool>
override
updateWhiteBoard(DrawModel draw, DrawActionEnum action) Future<void>
override
uploadAvatar({required Uint8List image, required String uploadUrl}) Future<String?>
override

Operators

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

Static Properties

historyDraw List<DrawModel>
getter/setter pair
localDraw List<DrawModel>
getter/setter pair
remoteDraw List<DrawModel>
getter/setter pair