LiveTalkSdk class

Constructors

LiveTalkSdk.new({required String domainPbx})

Properties

domainPbx String
final
eventStream Stream<LiveTalkEventEntity>
no setter
fileUrl String
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
uploadFileStream Stream<Map<String, dynamic>>
no setter

Methods

actionOnMessage({required String content, required String id, required String action}) Future<bool>
createRoom({required String phone, required String fullName, required String uuid, bool autoExpired = false, String? domain, String? fcm, String? projectId}) Future<String?>
disconnect() → void
forceReconnectSocket() Future<void>
getCurrentRoom() Future<LiveTalkRoomEntity?>
getMessageHistory({required int page, int size = 15}) Future<List<LiveTalkMessageEntity>>
logout(String uuid) Future<bool>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeMessage({required String id}) Future<bool>
sendMessage(LiveTalkSendingMessage message) Future<Map<String, dynamic>?>
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

shareInstance LiveTalkSdk
no setter