IMNative class
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Static Properties
-
advanceMessageListenerMap
→ Map<String, V2TimAdvancedMsgListener>
-
final
-
catchNativeData
→ Map<String, Map>
-
final
-
controller
→ StreamController<Map<String, Map<String, dynamic>>>
-
final
-
createdMessage
→ Map<String, Map<String, dynamic>>
-
final
-
currentInvite
↔ Map<String, dynamic>
-
getter/setter pair
-
desktopSDK
→ NativeBindings
-
final
-
downloadCache
↔ Map<String, String>
-
getter/setter pair
-
groupAuth
↔ Map<String, String>
-
getter/setter pair
-
groupAuthKey
↔ Map<String, String>
-
getter/setter pair
-
groupsInfos
→ Map<String, V2TimGroupInfo>
-
final
-
shell
→ Shell
-
final
-
signalingListenerList
↔ Map<String, V2TimSignalingListener>
-
getter/setter pair
-
timConversationListenerMap
→ Map<String, V2TimConversationListener>
-
final
-
timeoutTimer
↔ Map<String, Timer?>
-
getter/setter pair
-
timFriendshipListenerMap
→ Map<String, V2TimFriendshipListener>
-
final
-
timGroupListenerMap
→ Map<String, V2TimGroupListener>
-
final
-
timSDKListenerMap
→ Map<String, V2TimSDKListener>
-
final
-
userInfos
→ Map<String, V2TimUserFullInfo>
-
final
Static Methods
-
accept({required String inviteID, String? data})
→ Future<V2TimCallback>
-
-
acceptFriendApplication({required int responseType, required int type, required String userID})
→ Future<V2TimValueCallback<V2TimFriendOperationResult>>
-
-
acceptGroupApplication({required String groupID, String? reason, required String fromUser, required String toUser, int? addTime, int? type, String? webMessageInstance, int? handleStatus})
→ Future<V2TimCallback>
-
-
addAdvancedMsgListener(V2TimAdvancedMsgListener listener, String listenerUuid)
→ Future<void>
-
-
addConversationBaseInfoFromGroupAndUseraInfo(List<V2TimConversation> convList)
→ Future<List<Map<String, dynamic>>>
-
-
addConversationListener({required V2TimConversationListener listener, String? listenerUuid})
→ Future<void>
-
-
addConversationsToGroup({required String groupName, required List<String> conversationIDList})
→ Future<V2TimValueCallback<List<V2TimConversationOperationResult>>>
-
-
addFriend({required String userID, String? friendGroup, String? addWording, String? addSource, required int addType})
→ Future<V2TimValueCallback<V2TimFriendOperationResult>>
-
-
addFriendListener({required V2TimFriendshipListener listener, String? listenerUuid})
→ Future<void>
-
-
addFriendsToFriendGroup({required String groupName, required List<String> userIDList})
→ Future<V2TimValueCallback<List<V2TimFriendOperationResult>>>
-
-
addGroupListener({required V2TimGroupListener listener, required String listenerUuid})
→ Future<void>
-
-
addInvitedSignaling({required V2TimSignalingInfo info})
→ Future<V2TimCallback>
-
-
addMessageReaction({required String msgID, required String reactionID})
→ Future<V2TimCallback>
-
-
addSignalingListener({required V2TimSignalingListener listener, required String listenerUuid})
→ Future<void>
-
添加信令监听
-
addToBlackList({required List<String> userIDList})
→ Future<V2TimValueCallback<List<V2TimFriendOperationResult>>>
-
-
appendMessage({required String createMessageBaseId, required String createMessageAppendId})
→ Future<V2TimValueCallback<V2TimMessage>>
-
-
callExperimentalAPI({required String api, Object? param})
→ Future<V2TimValueCallback<Object>>
-
-
cancel({required String inviteID, String? data})
→ Future<V2TimCallback>
-
-
cancelConversationDraft({required String conversationID, String? draftText})
→ Future<V2TimCallback>
-
-
checkFriend({required List<String> userIDList, required int checkType})
→ Future<V2TimValueCallback<List<V2TimFriendCheckResult>>>
-
-
cleanConversationUnreadMessageCount({required String conversationID, required int cleanTimestamp, required int cleanSequence})
→ Future<V2TimCallback>
-
-
clearC2CHistoryMessage({required String userID})
→ Future<V2TimCallback>
-
-
clearGroupHistoryMessage({required String groupID})
→ Future<V2TimCallback>
-
-
convertVoiceToText({required String msgID, required String language})
→ Future<V2TimValueCallback<String>>
-
-
copydyliptoSysTempath()
→ Future<void>
-
-
countDown(int initTime, int timeout, String key)
→ Future<Map<String, dynamic>>
-
-
createConversationGroup({required String groupName, required List<String> conversationIDList})
→ Future<V2TimValueCallback<List<V2TimConversationOperationResult>>>
-
-
createCustomMessage({required String data, String desc = "", String extension = ""})
→ Future<V2TimValueCallback<V2TimMsgCreateInfoResult>>
-
-
createFaceMessage({required int index, required String data})
→ Future<V2TimValueCallback<V2TimMsgCreateInfoResult>>
-
-
createFileMessage({required String filePath, required String fileName, dynamic inputElement})
→ Future<V2TimValueCallback<V2TimMsgCreateInfoResult>>
-
-
createForwardMessage({required String msgID, String? webMessageInstance})
→ Future<V2TimValueCallback<V2TimMsgCreateInfoResult>>
-
-
createFriendGroup({required String groupName, List<String>? userIDList})
→ Future<V2TimValueCallback<List<V2TimFriendOperationResult>>>
-
-
createGroup({String? groupID, required String groupType, required String groupName, String? notification, String? introduction, String? faceUrl, bool? isAllMuted, int? addOpt, List<V2TimGroupMember>? memberList, bool? isSupportTopic, int? approveOpt})
→ Future<V2TimValueCallback<String>>
-
-
createImageMessage({required String imagePath, dynamic inputElement})
→ Future<V2TimValueCallback<V2TimMsgCreateInfoResult>>
-
-
createLocationMessage({required String desc, required double longitude, required double latitude})
→ Future<V2TimValueCallback<V2TimMsgCreateInfoResult>>
-
-
createMergerMessage({required List<String> msgIDList, required String title, required List<String> abstractList, required String compatibleText, List<String>? webMessageInstanceList})
→ Future<V2TimValueCallback<V2TimMsgCreateInfoResult>>
-
-
createSoundMessage({required String soundPath, required int duration})
→ Future<V2TimValueCallback<V2TimMsgCreateInfoResult>>
-
-
createTargetedGroupMessage({required String id, required List<String> receiverList})
→ Future<V2TimValueCallback<V2TimMsgCreateInfoResult>>
-
-
createTextAtMessage({required String text, required List<String> atUserList})
→ Future<V2TimValueCallback<V2TimMsgCreateInfoResult>>
-
-
createTextMessage({required String text})
→ Future<V2TimValueCallback<V2TimMsgCreateInfoResult>>
-
-
-
createVideoMessage({required String videoFilePath, required String type, required int duration, required String snapshotPath, dynamic inputElement})
→ Future<V2TimValueCallback<V2TimMsgCreateInfoResult>>
-
-
decreaseGroupCounter({required String groupID, required String key, required int value})
→ Future<V2TimValueCallback<Map<String, int>>>
-
-
deleteConversation({required String conversationID})
→ Future<V2TimCallback>
-
-
deleteConversationGroup({required String groupName})
→ Future<V2TimCallback>
-
-
deleteConversationList({required List<String> conversationIDList, required bool clearMessage})
→ Future<V2TimValueCallback<List<V2TimConversationOperationResult>>>
-
-
deleteConversationsFromGroup({required String groupName, required List<String> conversationIDList})
→ Future<V2TimValueCallback<List<V2TimConversationOperationResult>>>
-
-
deleteFriendApplication({required int type, required String userID})
→ Future<V2TimCallback>
-
-
deleteFriendGroup({required List<String> groupNameList})
→ Future<V2TimCallback>
-
-
deleteFriendsFromFriendGroup({required String groupName, required List<String> userIDList})
→ Future<V2TimValueCallback<List<V2TimFriendOperationResult>>>
-
-
deleteFromBlackList({required List<String> userIDList})
→ Future<V2TimValueCallback<List<V2TimFriendOperationResult>>>
-
-
deleteFromFriendList({required List<String> userIDList, required int deleteType})
→ Future<V2TimValueCallback<List<V2TimFriendOperationResult>>>
-
-
deleteGroupAttributes({required String groupID, required List<String> keys})
→ Future<V2TimCallback>
-
-
deleteMessageExtensions({required String msgID, required List<String> keys})
→ Future<V2TimValueCallback<List<V2TimMessageExtensionResult>>>
-
-
deleteMessageFromLocalStorage({required String msgID})
→ Future<V2TimCallback>
-
-
deleteMessages({required List<String> msgIDs, List? webMessageInstanceList})
→ Future<V2TimCallback>
-
-
-
dismissGroup({required String groupID})
→ Future<V2TimCallback>
-
-
downloadMergerMessage({required String msgID})
→ Future<V2TimValueCallback<List<V2TimMessage>>>
-
-
downloadMessage({required String msgID, required int messageType, required int imageType, required bool isSnapshot})
→ Future<V2TimCallback>
-
-
doWork(SendPort main)
→ void
-
-
findMessages({required List<String> messageIDList})
→ Future<V2TimValueCallback<List<V2TimMessage>>>
-
-
getAllReceiveMessageOpt()
→ Future<V2TimValueCallback<V2TimReceiveMessageOptInfo>>
-
-
getAsyncData({required String apiKey, int? maxtimeout})
→ Future<Map<String, dynamic>>
-
-
getBlackList()
→ Future<V2TimValueCallback<List<V2TimFriendInfo>>>
-
-
getC2CReceiveMessageOpt({required List<String> userIDList})
→ Future<V2TimValueCallback<List<V2TimReceiveMessageOptInfo>>>
-
-
getConversation({required String conversationID})
→ Future<V2TimValueCallback<V2TimConversation>>
-
-
getConversationGroupList()
→ Future<V2TimValueCallback<List<String>>>
-
-
getConversationList({required String nextSeq, required int count})
→ Future<V2TimValueCallback<V2TimConversationResult>>
-
-
getConversationListByConversaionIds({required List<String> conversationIDList})
→ Future<V2TimValueCallback<List<V2TimConversation>>>
-
-
getConversationListByFilter({required V2TimConversationFilter filter, required int nextSeq, required int count})
→ Future<V2TimValueCallback<V2TimConversationResult>>
-
-
getFriendApplicationList()
→ Future<V2TimValueCallback<V2TimFriendApplicationResult>>
-
-
getFriendGroups({List<String>? groupNameList})
→ Future<V2TimValueCallback<List<V2TimFriendGroup>>>
-
-
getFriendList()
→ Future<V2TimValueCallback<List<V2TimFriendInfo>>>
-
-
getFriendsInfo({required List<String> userIDList})
→ Future<V2TimValueCallback<List<V2TimFriendInfoResult>>>
-
-
getGroupApplicationList()
→ Future<V2TimValueCallback<V2TimGroupApplicationResult>>
-
-
getGroupAttributes({required String groupID, List<String>? keys})
→ Future<V2TimValueCallback<Map<String, String>>>
-
-
getGroupCounters({required String groupID, required List<String> keys})
→ Future<V2TimValueCallback<Map<String, int>>>
-
-
getGroupMemberList({required String groupID, required int filter, required String nextSeq, int count = 15, int offset = 0})
→ Future<V2TimValueCallback<V2TimGroupMemberInfoResult>>
-
-
getGroupMembersInfo({required String groupID, required List<String> memberList})
→ Future<V2TimValueCallback<List<V2TimGroupMemberFullInfo>>>
-
-
getGroupMessageReadMemberList({required String messageID, required GetGroupMessageReadMemberListFilter filter, int nextSeq = 0, int count = 100})
→ Future<V2TimValueCallback<V2TimGroupMessageReadMemberList>>
-
-
getGroupOnlineMemberCount({required String groupID})
→ Future<V2TimValueCallback<int>>
-
-
getGroupsInfo({required List<String> groupIDList})
→ Future<V2TimValueCallback<List<V2TimGroupInfoResult>>>
-
-
getHistoryMessageList({int getType = HistoryMessageGetType.V2TIM_GET_LOCAL_OLDER_MSG, String? userID, String? groupID, int lastMsgSeq = 0, required int count, String? lastMsgID, List<int>? messageTypeList, List<int>? messageSeqList, int? timeBegin, int? timePeriod})
→ Future<V2TimValueCallback<List<V2TimMessage>>>
-
-
getHistoryMessageListV2({int getType = HistoryMessageGetType.V2TIM_GET_LOCAL_OLDER_MSG, String? userID, String? groupID, int lastMsgSeq = -1, required int count, String? lastMsgID, List<int>? messageTypeList, List<int>? messageSeqList, int? timeBegin, int? timePeriod})
→ Future<V2TimValueCallback<V2TimMessageListResult>>
-
-
-
getJoinedGroupList()
→ Future<V2TimValueCallback<List<V2TimGroupInfo>>>
-
-
getLoginStatus()
→ Future<V2TimValueCallback<int>>
-
-
getLoginUser()
→ Future<V2TimValueCallback<String>>
-
-
getMessageExtensions({required String msgID})
→ Future<V2TimValueCallback<List<V2TimMessageExtension>>>
-
-
getMessageOnlineUrl({required String msgID})
→ Future<V2TimValueCallback<V2TimMessageOnlineUrl>>
-
-
getMessageReactions({required List<String> msgIDList, required int maxUserCountPerReaction})
→ Future<V2TimValueCallback<V2TimMessageReactionResult>>
-
-
getMessageReadReceipts({required List<String> messageIDList})
→ Future<V2TimValueCallback<List<V2TimMessageReceipt>>>
-
-
getServerTime()
→ Future<V2TimValueCallback<int>>
-
-
getSignalingInfo({required String msgID})
→ Future<V2TimValueCallback<V2TimSignalingInfo>>
-
获取信令信息
-
getTopicInfoList({required String groupID, required List<String> topicIDList})
→ Future<V2TimValueCallback<List<V2TimTopicInfoResult>>>
-
-
getTotalUnreadMessageCount()
→ Future<V2TimValueCallback<int>>
-
-
getUnreadMessageCountByFilter({required V2TimConversationFilter filter})
→ Future<V2TimValueCallback<int>>
-
-
getUsersInfo({required List<String> userIDList})
→ Future<V2TimValueCallback<List<V2TimUserFullInfo>>>
-
-
getUserStatus({required List<String> userIDList})
→ Future<V2TimValueCallback<List<V2TimUserStatus>>>
-
-
getVersion()
→ Future<V2TimValueCallback<String>>
-
-
handleCppRequests(dynamic message)
→ void
-
-
increaseGroupCounter({required String groupID, required String key, required int value})
→ Future<V2TimValueCallback<Map<String, int>>>
-
-
initGroupAttributes({required String groupID, required Map<String, String> attributes})
→ Future<V2TimCallback>
-
-
initSDK({required int sdkAppID, required int loglevel, String? listenerUuid, V2TimSDKListener? listener, required int uiPlatform, bool? showImLog})
→ Future<V2TimValueCallback<bool>>
-
-
insertC2CMessageToLocalStorage({required String data, required String userID, required String sender})
→ Future<V2TimValueCallback<V2TimMessage>>
-
-
insertGroupMessageToLocalStorage({required String data, required String groupID, required String sender})
→ Future<V2TimValueCallback<V2TimMessage>>
-
-
invite({required String invitee, required String data, int timeout = 30, bool onlineUserOnly = false, OfflinePushInfo? offlinePushInfo})
→ Future<V2TimValueCallback<String>>
-
-
inviteInGroup({required String groupID, required List<String> inviteeList, required String data, int timeout = 30, bool onlineUserOnly = false})
→ Future<V2TimValueCallback<String>>
-
-
inviteUserToGroup({required String groupID, required List<String> userList})
→ Future<V2TimValueCallback<List<V2TimGroupMemberOperationResult>>>
-
-
joinGroup({required String groupID, required String message, String? groupType})
→ Future<V2TimCallback>
-
-
kickGroupMember({required String groupID, required List<String> memberList, int? duration, String? reason})
→ Future<V2TimCallback>
-
-
login({required String userID, required String userSig})
→ Future<V2TimCallback>
-
-
logout()
→ Future<V2TimCallback>
-
-
markAllMessageAsRead()
→ Future<V2TimCallback>
-
-
markC2CMessageAsRead({required String userID})
→ Future<V2TimCallback>
-
-
markConversation({required int markType, required bool enableMark, required List<String> conversationIDList})
→ Future<V2TimValueCallback<List<V2TimConversationOperationResult>>>
-
-
markGroupMemberList({required String groupID, required List<String> memberIDList, required int markType, required bool enableMark})
→ Future<V2TimCallback>
-
-
markGroupMessageAsRead({required String groupID})
→ Future<V2TimCallback>
-
-
modifyMessage({required V2TimMessage message})
→ Future<V2TimValueCallback<V2TimMessageChangeInfo>>
-
localCustomData
localCustomInt
cloudCustomData
V2TIMTextElem
V2TIMCustomElem
-
muteGroupMember({required String groupID, required String userID, required int seconds})
→ Future<V2TimCallback>
-
-
pinConversation({required String conversationID, required bool isPinned})
→ Future<V2TimCallback>
-
-
quitGroup({required String groupID})
→ Future<V2TimCallback>
-
-
refuseFriendApplication({required int type, required String userID})
→ Future<V2TimValueCallback<V2TimFriendOperationResult>>
-
-
refuseGroupApplication({required String groupID, String? reason, required String fromUser, required String toUser, int? addTime, int? type, String? webMessageInstance})
→ Future<V2TimCallback>
-
-
reject({required String inviteID, String? data})
→ Future<V2TimCallback>
-
-
removeAdvancedMsgListener({String? listenerUuid, V2TimAdvancedMsgListener? listener})
→ Future<void>
-
-
removeConversationListener({String? listenerUuid, V2TimConversationListener? listener})
→ Future<void>
-
-
removeFriendListener({String? listenerUuid, V2TimFriendshipListener? listener})
→ Future<void>
-
-
removeGroupListener({String? listenerUuid, V2TimGroupListener? listener})
→ Future<void>
-
-
removeMessageReaction({required String msgID, required String reactionID})
→ Future<V2TimCallback>
-
-
removeSignalingListener({V2TimSignalingListener? listener, required String listenerUuid})
→ Future<void>
-
移除信令监听
-
renameConversationGroup({required String oldName, required String newName})
→ Future<V2TimCallback>
-
-
renameFriendGroup({required String oldName, required String newName})
→ Future<V2TimCallback>
-
-
revokeMessage({required String msgID, Object? webMessageInstatnce})
→ Future<V2TimCallback>
-
-
rmUserFormInviteeList(String user, String invitID)
→ dynamic
-
-
searchCloudMessages({required V2TimMessageSearchParam searchParam})
→ Future<V2TimValueCallback<V2TimMessageSearchResult>>
-
-
searchFriends({required V2TimFriendSearchParam searchParam})
→ Future<V2TimValueCallback<List<V2TimFriendInfoResult>>>
-
-
searchGroupMembers({required V2TimGroupMemberSearchParam searchParam})
→ Future<V2TimValueCallback<V2GroupMemberInfoSearchResult>>
-
-
searchGroups({required V2TimGroupSearchParam searchParam})
→ Future<V2TimValueCallback<List<V2TimGroupInfo>>>
-
-
searchLocalMessages({required V2TimMessageSearchParam searchParam})
→ Future<V2TimValueCallback<V2TimMessageSearchResult>>
-
-
sendMessage({required String id, required String receiver, required String groupID, int priority = 0, bool onlineUserOnly = false, bool isExcludedFromUnreadCount = false, bool isExcludedFromLastMessage = false, bool? isSupportMessageExtension = false, bool needReadReceipt = false, bool? isExcludedFromContentModeration = true, Map<String, dynamic>? offlinePushInfo, String? cloudCustomData, String? localCustomData})
→ Future<V2TimValueCallback<V2TimMessage>>
-
-
sendMessageReadReceipts({required List<String> messageIDList})
→ Future<V2TimCallback>
-
-
setAllReceiveMessageOpt({required int opt, required int startHour, required int startMinute, required int startSecond, required int duration})
→ Future<V2TimCallback>
-
-
setAllReceiveMessageOptWithTimestamp({required int opt, required int startTimeStamp, required int duration})
→ Future<V2TimCallback>
-
-
setC2CReceiveMessageOpt({required List<String> userIDList, required int opt})
→ Future<V2TimCallback>
-
-
setConversationCustomData({required String customData, required List<String> conversationIDList})
→ Future<V2TimValueCallback<List<V2TimConversationOperationResult>>>
-
-
setConversationDraft({required String conversationID, String? draftText})
→ Future<V2TimCallback>
-
-
setFriendApplicationRead()
→ Future<V2TimCallback>
-
-
setFriendInfo({required String userID, Map<String, String>? friendCustomInfo})
→ Future<V2TimCallback>
-
-
setGroupApplicationRead()
→ Future<V2TimCallback>
-
-
setGroupAttributes({required String groupID, required Map<String, String> attributes})
→ Future<V2TimCallback>
-
-
setGroupCounters({required String groupID, required Map<String, int> counters})
→ Future<V2TimValueCallback<Map<String, int>>>
-
-
setGroupInfo({required V2TimGroupInfo info})
→ Future<V2TimCallback>
-
-
setGroupMemberInfo({required String groupID, required String userID, String? nameCard, Map<String, String>? customInfo})
→ Future<V2TimCallback>
-
-
setGroupMemberRole({required String groupID, required String userID, required int role})
→ Future<V2TimCallback>
-
-
setGroupReceiveMessageOpt({required String groupID, required int opt})
→ Future<V2TimCallback>
-
-
setLocalCustomData({required String msgID, required String localCustomData})
→ Future<V2TimCallback>
-
-
setLocalCustomInt({required String msgID, required int localCustomInt})
→ Future<V2TimCallback>
-
-
setMessageExtensions({required String msgID, required List<V2TimMessageExtension> extensions})
→ Future<V2TimValueCallback<List<V2TimMessageExtensionResult>>>
-
-
setSelfInfo({required V2TimUserFullInfo userFullInfo})
→ Future<V2TimCallback>
-
-
setSelfStatus({required String status})
→ Future<V2TimCallback>
-
-
setTopicInfo({required String groupID, required V2TimTopicInfo topicInfo})
→ Future<V2TimCallback>
-
-
subscribeUnreadMessageCountByFilter({required V2TimConversationFilter filter})
→ Future<V2TimCallback>
-
-
subscribeUserInfo({required List<String> userIDList})
→ Future<V2TimCallback>
-
-
subscribeUserStatus({required List<String> userIDList})
→ Future<V2TimCallback>
-
-
TIMMsgFindByMsgLocatorList(List<Map<String, dynamic>> nativelocatorList)
→ Future<List<String>>
-
-
transferGroupOwner({required String groupID, required String userID})
→ Future<V2TimCallback>
-
-
translateText({required List<String> texts, required String targetLanguage, String? sourceLanguage})
→ Future<V2TimValueCallback<Map<String, String>>>
-
-
uikitTrace({required String trace})
→ Future<void>
-
-
unsubscribeUnreadMessageCountByFilter({required V2TimConversationFilter filter})
→ Future<V2TimCallback>
-
-
unsubscribeUserInfo({required List<String> userIDList})
→ Future<V2TimCallback>
-
-
unsubscribeUserStatus({required List<String> userIDList})
→ Future<V2TimCallback>
-