nim_core_platform_interface library

Classes

AddFriendNotify
AntiSpamConfig
AttachmentProgress
附件发送/接收进度通知
AudioRecordServicePlatform
AuthServicePlatform
AvSignallingServicePlatform
CallParam
ChannelBaseInfo
ChannelCommonEvent
ChannelFullInfo
ChatroomServicePlatform
CustomNotification
CustomNotificationConfig
Event
EventSubscribeRequest
EventSubscribeResult
EventSubscribeServicePlatform
GetMessagesDynamicallyParam
动态查询消息参数
GetMessagesDynamicallyResult
动态查询消息返回结果
InitializeServicePlatform
InviteParam
Log
MemberInfo
MessageKeywordSearchConfig
MessageSearchOption
MessageServicePlatform
NIMAndroidSDKOptions
NIMAntiSpamOption
云信反垃圾配置
NIMAttachmentProgress
附件上传/下载进度
NIMAudioAttachment
音频消息附件
NIMAuthStatusEvent
登录/登出状态变更事件
NIMBroadcastMessage
广播消息
NIMCacheQueryResult
NIMChatroomEnterRequest
加入聊天室请求
NIMChatroomEnterResult
加入聊天室响应
NIMChatroomErrors
NIMChatroomEvent
聊天室事件
NIMChatroomIndependentModeConfig
独立模式聊天室配置信息
NIMChatroomIndependentModeConfigDesktop
Windows & macOS独立模式聊天室配置信息
NIMChatroomInfo
NIMChatroomKickOutEvent
当用户被踢出聊天室或者聊天室关闭时,会触发被踢事件
NIMChatroomMember
聊天室成员信息
NIMChatroomMemberInAttachment
聊天室成员加入通知消息附件
NIMChatroomMemberOptions
NIMChatroomMessage
NIMChatroomMessageExtension
聊天室消息扩展
NIMChatroomNotificationAttachment
聊天室通知消息附件
NIMChatroomNotificationTypes
聊天室通知类型
NIMChatroomQueueChangeAttachment
NIMChatroomQueueEntry
聊天室队列元素
NIMChatroomStatusEvent
聊天室状态变更事件
NIMChatroomTempMuteAttachment
聊天室新增临时禁言通知消息附件
NIMChatroomUpdateMyMemberInfoRequest
修改自身成员信息请求
NIMChatroomUpdateRequest
聊天室信息修改请求
NIMCollectInfo
收藏信息
NIMCollectInfoQueryResult
收藏信息查询结果
NIMCreateTeamOptions
NIMCreateTeamResult
NIMCustomMessageAttachment
自定义消息附件
NIMCustomMessageConfig
消息的配置选项,主要用于设定消息的声明周期,是否需要推送,是否需要计入未读数等。
NIMDataSyncStatusEvent
数据同步状态变更事件,可监听数据同步开始、结束
NIMDismissAttachment
NIMFileAttachment
文件消息附件
NIMFriend
消息
NIMHandleQuickCommentOption
NIMImageAttachment
图片消息附件
NIMIOSSDKOptions
NIMKickOutByOtherClientEvent
NIMLeaveTeamAttachment
NIMLocalAntiSpamResult
本地反垃圾检测结果 反垃圾词库由开发者在云信后台管理配置,SDK 内负责下载并管理这个词库。垃圾词汇命中后支持三种替换规则:
NIMLocationAttachment
图片消息附件
NIMLoginInfo
用户登录认证信息
NIMMACOSSDKOptions
NIMMemberChangeAttachment
NIMMemberPushOption
指定成员推送相关可选项
NIMMessage
消息
NIMMessageAttachment
NIMMessageKey
NIMMessagePin
消息PIN
NIMMessagePinAddedEvent
消息PIN 添加事件
NIMMessagePinEvent
会话消息查询结果 消息PIN事件类
NIMMessagePinRemovedEvent
消息PIN 移除事件
NIMMessagePinUpdatedEvent
消息PIN 更新事件
NIMMessageReceipt
消息已读回执
NIMMessageRobotInfo
NIMMessageThreadOption
NIMMessageTypeConverter
NIMMixPushConfig
消息推送配置
NIMMuteListChangedNotify
NIMMuteMemberAttachment
NIMMySessionKey
服务端会话Key,包含 sessionId 与 sessionType
NIMNosScenes
NIMNOSTransferProgress
文件上传进度
NIMNOSTransferStatus
NIMOnlineClient
当前在线端信息
NIMPassThroughNotifyData
NIMPassThroughProxyData
NIMPushNoDisturbConfig
免打扰配置
NIMQuickCommentOption
NIMQuickCommentOptionWrapper
NIMResourceQueryOption
NIMResult<T>
NIMResultCode
SDK 状态码
NIMRevokeMessage
消息撤回内容
NIMSDKOptions
初始化基础配置
NIMServerConfig
NIMSession
最近会话
NIMSessionInfo
清空消息未读数请求
NIMSessionTypeConverter
NIMStatusBarNotificationConfig
SDK提供状态栏提醒的配置
NIMStickTopSessionInfo
NIMSuperTeam
NIMSuperTeamMember
NIMSuperTeamNotificationTypes
聊天室通知类型
NIMTeam
NIMTeamBeInviteModeEnumConverter
NIMTeamExtensionUpdateModeEnumConverter
NIMTeamInviteModeEnumConverter
NIMTeamMember
NIMTeamMessageAckInfo
群已读回执信息
NIMTeamMessageReceipt
群消息已读回执
NIMTeamNotificationAttachment
群组通知消息附件
NIMTeamNotificationTypes
聊天室通知类型
NIMTeamUpdatedFields
群更新字段
NIMTeamUpdateFieldRequest
NIMTeamUpdateModeEnumConverter
NIMThreadTalkHistory
请求Thread聊天里的消息列表得到的信息
NIMUpdateTeamAttachment
群组更新消息附件
NIMUser
消息
NIMVerifyTypeEnumConverter
NIMVideoAttachment
音频消息附件
NIMWINDOWSSDKOptions
NOSServicePlatform
PairIntWithString
PassThroughMethod
PassThroughServicePlatform
PlatformMethodCallHandler
QChatAcceptServerApplyParam
QChatAcceptServerInviteParam
QChatAddChannelRoleParam
QChatAddChannelRoleResult
QChatAddMemberRoleParam
QChatAddMemberRoleResult
QChatAddMembersToServerRoleParam
QChatAddMembersToServerRoleResult
QChatAddQuickCommentParam
QChatAddServerRoleMembersAttachment
QChatAntiSpamConfig
QChatAntiSpamConfigParam
QChatApplyJoinServerMemberAcceptAttachment
QChatApplyJoinServerMemberAttachment
QChatApplyJoinServerMemberDoneAttachment
已申请加入服务器通知附件
QChatApplyServerJoinParam
QChatApplyServerJoinResult
QChatAreMentionedMeMessagesParam
"批量查询消息是否@当前用户"接口入参
QChatAreMentionedMeMessagesResult
QChatBannedServerMember
QChatBanServerMemberParam
QChatChannel
QChatChannelCategory
频道分组信息
QChatChannelIdInfo
QChatChannelMember
QChatChannelRole
QChatChannelServicePlatform
QChatCheckPermissionParam
QChatCheckPermissionResult
QChatCheckPermissionsParam
QChatCheckPermissionsResult
QChatClient
QChatCreateChannelCategoryAttachment
创建频道分组通知附件
QChatCreateChannelNotificationAttachment
QChatCreateChannelParam
QChatCreateChannelResult
QChatCreateServerAttachment
QChatCreateServerParam
QChatCreateServerResult
QChatCreateServerRoleParam
QChatCreateServerRoleResult
QChatDeleteChannelCategoryAttachment
删除频道分组通知附件
QChatDeleteChannelParam
QChatDeleteMessageParam
QChatDeleteMessageResult
QChatDeleteServerParam
QChatDeleteServerRoleMembersAttachment
QChatDeleteServerRoleParam
QChatDownloadAttachmentParam
"下载附件"接口入参
QChatEnterServerAsVisitorParam
QChatEnterServerAsVisitorResult
QChatGenerateInviteCodeParam
QChatGenerateInviteCodeResult
QChatGetBannedServerMembersByPageParam
QChatGetBannedServerMembersByPageResult
QChatGetByPageResult
QChatGetByPageWithCursorResult
QChatGetChannelBlackWhiteMembersByPageParam
"分页查询频道黑白名单成员列表"接口入参
QChatGetChannelBlackWhiteMembersByPageResult
QChatGetChannelBlackWhiteRolesByPageParam
"分页查询频道黑白名单身份组列表"接口入参
QChatGetChannelBlackWhiteRolesByPageResult
QChatGetChannelCategoriesByPageParam
"分页查询服务器下频道类别列表"接口入参
QChatGetChannelCategoriesByPageResult
QChatGetChannelMembersByPageParam
QChatGetChannelMembersByPageResult
QChatGetChannelRolesParam
QChatGetChannelRolesResult
QChatGetChannelsByPageParam
QChatGetChannelsByPageResult
QChatGetChannelsParam
"查询channel信息"接口入参
QChatGetChannelsResult
QChatGetChannelUnreadInfosParam
"查询未读信息"接口入参
QChatGetChannelUnreadInfosResult
QChatGetExistingAccidsInServerRoleParam
QChatGetExistingAccidsInServerRoleResult
QChatGetExistingAccidsOfMemberRolesParam
QChatGetExistingAccidsOfMemberRolesResult
QChatGetExistingChannelBlackWhiteMembersParam
"批量查询黑白名单身份组成员"接口入参
QChatGetExistingChannelBlackWhiteMembersResult
QChatGetExistingChannelBlackWhiteRolesParam
"批量查询黑白名单身份组"接口入参
QChatGetExistingChannelBlackWhiteRolesResult
QChatGetExistingChannelRolesByServerRoleIdsParam
QChatGetExistingChannelRolesByServerRoleIdsResult
QChatGetExistingServerRolesByAccidsParam
QChatGetExistingServerRolesByAccidsResult
QChatGetInviteApplyRecordOfSelfParam
QChatGetInviteApplyRecordOfSelfResult
QChatGetInviteApplyRecordOfServerParam
QChatGetInviteApplyRecordOfServerResult
QChatGetLastMessageOfChannelsParam
QChatGetLastMessageOfChannelsResult
QChatGetMemberRolesParam
QChatGetMemberRolesResult
QChatGetMembersFromServerRoleParam
QChatGetMembersFromServerRoleResult
QChatGetMentionedMeMessagesParam
QChatGetMentionedMeMessagesResult
分页查询指定频道@我的消息接口 结果
QChatGetMessageHistoryByIdsParam
"根据消息id查询历史消息"接口入参
QChatGetMessageHistoryParam
"查询历史消息"接口入参
QChatGetMessageHistoryResult
QChatGetMessageThreadInfosParam
QChatGetMessageThreadInfosResult
QChatGetQuickCommentsParam
QChatGetQuickCommentsResult
QChatGetReferMessagesParam
QChatGetReferMessagesResult
QChatGetServerMembersByPageParam
QChatGetServerMembersByPageResult
QChatGetServerMembersParam
QChatGetServerMembersResult
QChatGetServerRolesByAccidParam
QChatGetServerRolesByAccidResult
QChatGetServerRolesParam
QChatGetServerRolesResult
QChatGetServersByPageParam
QChatGetServersByPageResult
QChatGetServersParam
QChatGetServersResult
QChatGetThreadMessagesParam
QChatGetThreadMessagesResult
QChatGetUserChannelPushConfigsParam
"查询用户频道推送配置"接口入参
QChatGetUserPushConfigsResult
QChatGetUserServerPushConfigsParam
QChatInviteApplyRecord
QChatInviteApplyRecordData
QChatInviteApplyServerMemberInfo
QChatInvitedUserInfo
QChatInviteServerMemberAcceptAttachment
接受服务器成员邀请通知附件
QChatInviteServerMemberAttachment
QChatInviteServerMembersDoneAttachment
已邀请服务器成员通知附件
QChatInviteServerMembersParam
QChatInviteServerMembersResult
QChatJoinByInviteCodeParam
QChatJoinServerByInviteCodeAttachment
QChatJoinServerOperationParam
QChatKickedOutEvent
QChatKickOtherClientsParam
QChatKickOtherClientsResult
QChatKickServerMembersDoneAttachment
QChatKickServerMembersParam
QChatLeaveServerAsVisitorParam
QChatLeaveServerAsVisitorResult
QChatLeaveServerAttachment
QChatLeaveServerParam
QChatLoginParam
QChatLoginResult
QChatMarkMessageReadParam
"标记已读"接口入参
QChatMarkSystemNotificationsReadParam
QChatMemberRole
QChatMessage
QChatMessageAntiSpamOption
QChatMessageAntiSpamResult
消息反垃圾结果
QChatMessageCache
QChatMessageDeleteEvent
消息删除事件
QChatMessageQueryOption
消息查询选项
QChatMessageQuickCommentDetail
QChatMessageRefer
消息引用结构
QChatMessageRevokeEvent
消息撤回事件
QChatMessageServicePlatform
QChatMessageThreadInfo
QChatMessageUpdateEvent
消息更新事件
QChatMsgUpdateContent
消息更新内容
QChatMsgUpdateInfo
消息更新信息
QChatMultiSpotLoginEvent
QChatMyMemberInfoUpdatedAttachment
QChatObserverPlatform
QChatPushConfig
QChatPushServicePlatform
QChatQuickComment
消息快捷评论
QChatQuickCommentAttachment
快捷评论通知附件
QChatQuickCommentDetail
QChatQuickCommentParam
QChatRejectApplyServerMemberAttachment
QChatRejectInviteServerMemberAttachment
QChatRejectServerApplyParam
QChatRejectServerInviteParam
QChatRemoveChannelRoleParam
QChatRemoveMemberRoleParam
QChatRemoveMembersFromServerRoleParam
QChatRemoveMembersFromServerRoleResult
QChatRemoveQuickCommentParam
QChatReplyMessageParam
QChatResendMessageParam
"重发消息"接口入参
QChatResendSystemNotificationParam
QChatRevokeMessageParam
"撤回消息"接口入参
QChatRevokeMessageResult
QChatRoleResourceValueInfo
QChatRoleServicePlatform
QChatSearchChannelByPageParam
检索频道的接口入参
QChatSearchChannelByPageResult
QChatSearchChannelMembersParam
QChatSearchChannelMembersResult
QChatSearchMsgByPageParam
QChatSearchMsgByPageResult
QChatSearchServerByPageParam
QChatSearchServerByPageResult
QChatSearchServerMemberByPageParam
QChatSearchServerMemberByPageResult
QChatSendMessageParam
QChatSendMessageResult
QChatSendSystemNotificationParam
QChatSendSystemNotificationResult
QChatSendTypingEventParam
"发送消息正在输入事件"接口入参
QChatSendTypingEventResult
QChatServer
QChatServerEnterLeaveAttachment
当前用户进入/离开服务器通知附件
QChatServerJoinParam
QChatServerMarkReadParam
QChatServerMarkReadResult
QChatServerMember
QChatServerRole
QChatServerRoleMember
QChatServerServicePlatform
QChatServerUnreadInfo
未读信息
QChatServerUnreadInfoChangedEvent
QChatServicePlatform
QChatStatusChangeEvent
状态变化事件
QChatSubscribeAllChannelParam
QChatSubscribeAllChannelResult
QChatSubscribeChannelAsVisitorParam
"以游客身份订阅频道"接口入参
QChatSubscribeChannelAsVisitorResult
QChatSubscribeChannelParam
"订阅频道"接口入参
QChatSubscribeChannelResult
QChatSubscribeServerAsVisitorParam
QChatSubscribeServerAsVisitorResult
QChatSubscribeServerParam
QChatSubscribeServerResult
QChatSystemNotification
QChatSystemNotificationAttachment
QChatSystemNotificationAttachmentCommon
QChatSystemNotificationTypeConverter
QChatSystemNotificationUpdateEvent
系统通知更新事件
QChatTypingEvent
消息正在输入事件
QChatUnbanServerMemberParam
QChatUnreadInfo
QChatUnreadInfoChangedEvent
未读信息变更事件
QChatUpdateChannelBlackWhiteMemberAttachment
QChatUpdateChannelBlackWhiteMembersParam
"更新频道黑白名单成员"接口入参
QChatUpdateChannelBlackWhiteRoleAttachment
QChatUpdateChannelBlackWhiteRolesParam
"更新频道黑白名单身份组"接口入参
QChatUpdateChannelCategoryAttachment
QChatUpdateChannelCategoryBlackWhiteMemberAttachment
频道分组修改黑白名单成员通知附件
QChatUpdateChannelCategoryBlackWhiteRoleAttachment
频道分组修改黑白名单身份组通知附件
QChatUpdateChannelNotificationAttachment
QChatUpdateChannelParam
QChatUpdateChannelResult
QChatUpdateChannelRoleAuthsAttachment
QChatUpdateChannelRoleParam
QChatUpdateChannelRoleResult
QChatUpdateChannelVisibilityAttachment
QChatUpdatedMyMemberInfo
QChatUpdateMemberRoleAuthsAttachment
QChatUpdateMemberRoleParam
QChatUpdateMemberRoleResult
QChatUpdateMessageParam
QChatUpdateMessageResult
QChatUpdateMyMemberInfoParam
QChatUpdateMyMemberInfoResult
QChatUpdateParam
消息/系统通知相关接口更新操作通用参数,设置该操作相关的附加字段,设置该操作引发的推送内容
QChatUpdateServerAttachment
QChatUpdateServerMemberAttachment
QChatUpdateServerMemberBanParam
QChatUpdateServerMemberInfoParam
QChatUpdateServerMemberInfoResult
QChatUpdateServerParam
QChatUpdateServerResult
QChatUpdateServerRoleAuthsAttachment
QChatUpdateServerRoleParam
QChatUpdateServerRolePrioritiesParam
QChatUpdateServerRolePrioritiesResult
QChatUpdateServerRoleResult
QChatUpdateSystemNotificationParam
"更新系统通知"接口入参
QChatUpdateSystemNotificationResult
QChatUpdateUserChannelPushConfigParam
"更新用户频道推送配置"接口入参
QChatUpdateUserPushConfigParam
QChatUpdateUserServerPushConfigParam
QChatUserPushConfig
ReadPair
RecentSession
RecentSessionList
RecordInfo
Service
SettingsServicePlatform
SignallingEvent
SignallingPushConfig
信令推送配置项
SuperTeamServicePlatform
SyncChannelEvent
SystemMessage
SystemMessageServicePlatform
SystemMessageStatusConverter
SystemMessageTypeConverter
TeamServicePlatform
UserInfoProviderAvatarInfo
用户头像信息
UserServicePlatform

Enums

AsymmetricType
AudioOutputFormat
AvatarPathType
头像路径类型
ChannelStatus
ChannelType
FriendEvent
InviteAckStatus
IPVersion
NIMAuthStatus
登录/登出状态事件
NIMAuthType
认证类型
NIMChatroomKickOutReason
从聊天室断开原因
NIMChatroomMemberQueryType
成员查询类型
NIMChatroomMemberType
聊天室成员类型
NIMChatroomQueueChangeType
NIMChatroomQueueModificationLevel
聊天室队列修改权限
NIMChatroomStatus
聊天室状态
NIMClientType
客户端类型
NIMDirCacheFileType
sdk 本地文件缓存类型
NIMGetMessageDirection
NimHandshakeType
NIMMessageAttachmentStatus
消息附件接收/发送状态
NIMMessageDirection
消息方向
NIMMessageStatus
NIMMessageType
消息内容类型
NIMNosTransferStatus
传输状态
NIMNOSTransferType
传输类型
NIMNotificationExtraType
通知传递的extra类型
NIMNotificationFoldStyle
通知折叠方式
NIMRobotMessageType
机器人消息类型
NIMSessionDeleteType
NIMSessionType
会话类型
NIMTeamAllMuteModeEnum
NIMTeamBeInviteModeEnum
NIMTeamExtensionUpdateModeEnum
NIMTeamFieldEnum
TeamFieldEnum属性 说明 数据类型 announcement 群公告 beInviteMode 群被邀请模式:被邀请人的同意方式 extension 群扩展字段(客户端自定义信息) icon 群头像 introduce 群简介 inviteMode 群邀请模式:谁可以邀请他人入群 maxMemberCount 指定创建群组的最大群成员数量 ,MaxMemberCount不能超过应用级配置的最大人数 name 群名 teamExtensionUpdateMode 群资料扩展字段修改模式:谁可以修改群自定义属性(扩展字段) teamUpdateMode 群资料修改模式:谁可以修改群资料 verifyType 申请加入群组的验证模式
NIMTeamInviteModeEnum
NIMTeamMessageNotifyTypeEnum
NIMTeamTypeEnum
TeamTypeEnum属性 说明 advanced 高级群,有完善的权限管理功能 normal 讨论组,仅具有基本的权限管理功能,所有人都能加入, superTeam 超大群 仅群主可以踢人
NIMTeamUpdateModeEnum
NIMUnreadCountQueryType
NIMUserGenderEnum
认证类型
NIMVerifyType
添加好友确认类型
NIMVerifyTypeEnum
QChatApplyJoinMode
QChatChannelBlackWhiteOperateType
QChatChannelBlackWhiteType
QChatChannelMode
QChatChannelSearchSortEnum
QChatChannelSyncMode
QChatChannelType
QChatDimension
QChatInOutType
QChatInviteApplyRecordStatus
QChatInviteApplyRecordType
QChatInviteMode
QChatKickOutReason
QChatMemberType
QChatMessageReferType
QChatMessageSearchSortEnum
QChatMultiSpotNotifyType
QChatNotifyReason
下发通知原因
QChatPushMsgType
推送消息类型选项 低等级消息:普通消息等(没有具体目标、没有@意愿) 中等级消息: @所有人等(没有具体目标、有@意愿) 高等级消息: @某些人等(有具体目标、有@意愿)
QChatQuickCommentOperateType
QChatRoleOption
身份组权限选项
QChatRoleResource
QChatRoleType
QChatSearchServerTypeEnum
QChatServerSearchSortEnum
服务器搜索排序条件
QChatSubscribeOperateType
QChatSubscribeType
QChatSystemMessageToType
QChatSystemNotificationType
QChatVisitorMode
游客可见模式
QueryDirection
RecordState
RevokeMessageType
撤回消息类型
SearchOrder
SignallingEventType
SymmetryType
SystemMessageStatus
SystemMessageType
TeamMemberType

Mixins

EnumConverter<E, T>
LogMixin

Properties

services Map<String, Service>
final

Functions

antiSpamConfigFromJson(Map? map) QChatAntiSpamConfig?
castMapToTypeOfBoolString(Map? map) Map<String, bool>?
castMapToTypeOfStringInt(Map? map) Map<String, int>?
castMapToTypeOfStringString(Map? map) Map<String, String>?
castPlatformMapToDartMap(Map? map) Map<String, dynamic>?
enumDecode<K, V>(Map<K, V> enumValues, Object? source, {K? unknownValue}) → K?
enumifyDirCacheFileTypeName(String type) NIMDirCacheFileType
getEventFromInt(int val) FriendEvent?
loginInfoFromMap(Map? map) NIMLoginInfo?
loginInfoToMap(NIMLoginInfo? loginInfo) Map?
memberFromJson(Map? map) QChatServerMember?
messageFromMap(Map? map) NIMMessage?
messageToMap(NIMMessage? nimMessage) Map?
nosSceneConfigFromMap(Map? map) Map<String, int>?
qChatChannelFromJson(Map? map) QChatChannel?
qChatClientFromJson(Map? map) QChatClient?
qChatMessageFromJson(Map? map) QChatMessage?
qChatMsgUpdateInfoFromJson(Map? map) QChatMsgUpdateInfo?
qChatServerUnreadInfoListFromJson(List? infoList) List<QChatServerUnreadInfo>?
qChatSystemNotificationFromJson(Map? map) QChatSystemNotification?
qChatUnreadInfListFromJson(List? infoList) List<QChatUnreadInfo>?
qQChatTypingEventFromJson(Map? map) QChatTypingEvent?
replyListFromMap(List? replyListMap) List<NIMMessage>?
replyListToMap(List<NIMMessage>? replyList) List<Map?>?
resourceAuthsFromJsonNullable(Map? map) Map<QChatRoleResource, QChatRoleOption>?
serverConfigFromMap(Map? map) NIMServerConfig?
serverConfigToJson(NIMServerConfig? serverConfig) Map?
serverFromJsonNullable(Map? map) QChatServer?
serverRoleListFromJsonNullable(List? dataList) List<QChatServerRole>?
sessionDeleteTypeToString(NIMSessionDeleteType type) String
stringifyDirCacheFileTypeName(NIMDirCacheFileType type) String
teamFromMap(Map? map) NIMTeam?
teamToMap(NIMTeam? nimTeam) Map?

Typedefs

ChatroomMessageAction = Future Function(NIMChatroomMessage message)
MessageAction = Future Function(NIMMessage message)
NIMAvatarForMessageNotifierProvider = Future<UserInfoProviderAvatarInfo?> Function(NIMSessionType? sessionType, String? sessionId)
为云信通知栏提醒提供头像(个人、群组) 一般从本地图片缓存中获取,若未下载或本地不存在,请返回默认本地头像(可以返回默认头像资源ID对应的Bitmap)
NIMChatroomDynamicTokenProvider = Future<String> Function(String account, String roomId)
NIMChatroomIndependentModeLinkAddressProvider = Future<List<String>> Function(String roomId, String? account)
NIMDisplayNameForMessageNotifierProvider = Future<String?> Function(String? account, String? sessionId, NIMSessionType? sessionType)
为通知栏提供消息发送者显示名称(例如:如果是P2P聊天,可以显示备注名、昵称、帐号等;如果是群聊天,可以显示备注名,群昵称,昵称、帐号等) 如果返回 null,SDK将会使用服务器下发昵称
NIMDisplayTitleForMessageNotifierProvider = Future<String?> Function(NIMMessage? message)
为通知栏提供消息title显示名称(例如:如果是群聊天,可以设置自定义群名称等;如果圈组,可以显示圈组频道名称等) 如果返回null,SDK 群和超大群会显示群名称,其他类型将会使用当前app名称展示
NIMDynamicTokenProvider = Future<String> Function(String account)
NIMMakeNotifyContentProvider = Future<String?> Function(String? nick, NIMMessage? message)
定制消息提醒(通知栏提醒)內容文案 主要在通知栏下拉后展现其通知内容:content=nick:发来一条消息 Params: nick – 发送者昵称 message – 发来的消息 Returns: 定制的消息提醒内容文案
NIMMakeRevokeMsgTipProvider = Future<String?> Function(String? revokeAccount, NIMMessage? message)
定制消息撤回提醒文案 Params: revokeAccount – 撤回操作者账号 message – 被撤回的消息 Returns: 消息撤回提醒文案
NIMMakeTickerProvider = Future<String?> Function(String? nick, NIMMessage? message)
定制消息提醒(通知栏提醒)Ticker文案 主要在通知栏弹框提醒时的内容:ticker=nick有新消息 params: nick – 发送者昵称 message – 发来的消息 Returns: 定制的通知栏Ticker文案
NIMNosScene = String
NIMNosScenes SDK 内置场景
NIMResultDataConvert<T> = T? Function(Map<String, dynamic> map)