MessageServiceImpl class

Inheritance

Constructors

MessageServiceImpl()

Properties

hashCode int
The hash code for this object.
no setterinherited
messageListMap Map<String, List<V2TimMessage>>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sendingMessage Map<String, List<V2TimMessage>>
final

Methods

addAdvancedMsgListener({required V2TimAdvancedMsgListener listener}) Future<void>
override
addSimpleMsgListener({required V2TimSimpleMsgListener listener}) Future
override
clearC2CHistoryMessage({required String userID}) Future<V2TimCallback>
override
clearGroupHistoryMessage({required String groupID}) Future<V2TimCallback>
override
createCustomMessage({required String data}) Future<V2TimMsgCreateInfoResult?>
override
createFaceMessage({required int index, required String data}) Future<V2TimMsgCreateInfoResult?>
override
createFileMessage({String? filePath, required String fileName, dynamic inputElement}) Future<V2TimMsgCreateInfoResult?>
override
createForwardMessage({required String msgID}) Future<V2TimMsgCreateInfoResult?>
override
createImageMessage({String? imageName, String? imagePath, dynamic inputElement}) Future<V2TimMsgCreateInfoResult?>
override
createLocationMessage({required String desc, required double longitude, required double latitude}) Future<V2TimMsgCreateInfoResult?>
override
createMergerMessage({required List<String> msgIDList, required String title, required List<String> abstractList, required String compatibleText}) Future<V2TimMsgCreateInfoResult?>
override
createSoundMessage({required String soundPath, required int duration}) Future<V2TimMsgCreateInfoResult?>
override
createTextAtMessage({required String text, required List<String> atUserList}) Future<V2TimMsgCreateInfoResult?>
override
createTextMessage({required String text}) Future<V2TimMsgCreateInfoResult?>
override
createVideoMessage({String? videoPath, String? type, int? duration, String? snapshotPath, dynamic inputElement}) Future<V2TimMsgCreateInfoResult?>
override
deleteMessageFromLocalStorage({required String msgID, Object? webMessageInstance}) Future<V2TimCallback>
override
deleteMessages({required List<String> msgIDs, List? webMessageInstanceList}) Future<V2TimCallback>
override
downloadMergerMessage({required String msgID}) Future<List<V2TimMessage>?>
override
downloadMessage({required String msgID, required int messageType, required int imageType, required bool isSnapshot}) Future<V2TimCallback>
override
findMessages({required List<String> messageIDList}) Future<List<V2TimMessage>?>
override
getGroupMessageReadMemberList({required String messageID, required GetGroupMessageReadMemberListFilter filter, int nextSeq = 0, int count = 100}) Future<V2TimValueCallback<V2TimGroupMessageReadMemberList>>
override
getHistoryMessageList({HistoryMsgGetTypeEnum getType = HistoryMsgGetTypeEnum.V2TIM_GET_LOCAL_OLDER_MSG, String? userID, String? groupID, int lastMsgSeq = -1, required int count, String? lastMsgID, List<int>? messageTypeList}) Future<List<V2TimMessage>>
override
getHistoryMessageListV2({HistoryMsgGetTypeEnum getType = HistoryMsgGetTypeEnum.V2TIM_GET_LOCAL_OLDER_MSG, String? userID, String? groupID, int lastMsgSeq = -1, required int count, String? lastMsgID, List<int>? messageTypeList}) Future<MessageListResponse>
override
getHistoryMessageListWithComplete({HistoryMsgGetTypeEnum getType = HistoryMsgGetTypeEnum.V2TIM_GET_LOCAL_OLDER_MSG, String? userID, String? groupID, int lastMsgSeq = 0, required int count, String? lastMsgID, List<int>? messageTypeList}) Future<V2TimMessageListResult?>
override
getMessageOnlineUrl({required String msgID}) Future<V2TimValueCallback<V2TimMessageOnlineUrl>>
override
getMessageReadReceipts({required List<String> messageIDList}) Future<V2TimValueCallback<List<V2TimMessageReceipt>>>
override
markC2CMessageAsRead({required String userID}) Future<V2TimCallback>
override
markGroupMessageAsRead({required String groupID}) Future<V2TimCallback>
override
modifyMessage({required V2TimMessage message}) Future<V2TimValueCallback<V2TimMessageChangeInfo>>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeAdvancedMsgListener({V2TimAdvancedMsgListener? listener}) Future<void>
override
removeSimpleMsgListener({V2TimSimpleMsgListener? listener}) Future<void>
override
reSendMessage({required String msgID, bool? onlineUserOnly}) Future<V2TimValueCallback<V2TimMessage>>
override
revokeMessage({required String msgID, Object? webMessageInstance}) Future<V2TimCallback>
override
searchLocalMessages({required V2TimMessageSearchParam searchParam}) Future<V2TimValueCallback<V2TimMessageSearchResult>>
override
sendMessage({required String id, required String receiver, required String groupID, MessagePriorityEnum priority = MessagePriorityEnum.V2TIM_PRIORITY_NORMAL, bool onlineUserOnly = false, bool isExcludedFromUnreadCount = false, bool needReadReceipt = false, OfflinePushInfo? offlinePushInfo, String? cloudCustomData, String? localCustomData}) Future<V2TimValueCallback<V2TimMessage>>
override
sendMessageReadReceipts({required List<String> messageIDList}) Future<V2TimCallback>
override
sendReplyMessage({required String id, required String receiver, required String groupID, OfflinePushInfo? offlinePushInfo, bool needReadReceipt = false, required V2TimMessage replyMessage}) Future<V2TimValueCallback<V2TimMessage>>
override
setC2CReceiveMessageOpt({required List<String> userIDList, required ReceiveMsgOptEnum opt}) Future<V2TimCallback>
override
setGroupReceiveMessageOpt({required String groupID, required ReceiveMsgOptEnum opt}) Future<V2TimCallback>
override
setLocalCustomData({required String msgID, required String localCustomData}) Future<V2TimCallback>
override
setLocalCustomInt({required String msgID, required int localCustomInt}) Future<V2TimCallback>
override
toString() String
A string representation of this object.
inherited
translateText(String text, String target) Future<String>
override

Operators

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