IMSDK
即时通信 IM 提供全球接入、单聊、群聊、消息推送、资料关系链托管、账号鉴权等全方位解决方案,并提供完备的 App 接入、后台管理接口。
V2TIMCommunityListener

Public 成员函数

 V2TIMCommunityListener ()
 
virtual ~V2TIMCommunityListener ()
 
virtual void OnCreateTopic (const V2TIMString &groupID, const V2TIMString &topicID)
 
virtual void OnDeleteTopic (const V2TIMString &groupID, const V2TIMStringVector &topicIDList)
 
virtual void OnChangeTopicInfo (const V2TIMString &groupID, const V2TIMTopicInfo &topicInfo)
 
virtual void OnReceiveTopicRESTCustomData (const V2TIMString &topicID, const V2TIMBuffer &customData)
 
virtual void OnCreatePermissionGroup (const V2TIMString &groupID, const V2TIMPermissionGroupInfo &permissionGroupInfo)
 
virtual void OnDeletePermissionGroup (const V2TIMString &groupID, const V2TIMStringVector &permissionGroupIDList)
 
virtual void OnChangePermissionGroupInfo (const V2TIMString &groupID, const V2TIMPermissionGroupInfo &permissionGroupInfo)
 
virtual void OnAddMembersToPermissionGroup (const V2TIMString &groupID, const V2TIMString &permissionGroupID, const V2TIMStringVector &memberIDList)
 
virtual void OnRemoveMembersFromPermissionGroup (const V2TIMString &groupID, const V2TIMString &permissionGroupID, const V2TIMStringVector &memberIDList)
 
virtual void OnAddTopicPermission (const V2TIMString &groupID, const V2TIMString &permissionGroupID, const V2TIMStringToUint64Map &topicPermissionMap)
 
virtual void OnDeleteTopicPermission (const V2TIMString &groupID, const V2TIMString &permissionGroupID, const V2TIMStringVector &topicIDList)
 
virtual void OnModifyTopicPermission (const V2TIMString &groupID, const V2TIMString &permissionGroupID, const V2TIMStringToUint64Map &topicPermissionMap)
 

构造及析构函数说明

◆ V2TIMCommunityListener()

◆ ~V2TIMCommunityListener()

virtual ~V2TIMCommunityListener ( )
virtual

成员函数说明

◆ OnCreateTopic()

virtual void OnCreateTopic ( const V2TIMString groupID,
const V2TIMString topicID 
)
inlinevirtual

话题创建

参数
topicID话题 ID

◆ OnDeleteTopic()

virtual void OnDeleteTopic ( const V2TIMString groupID,
const V2TIMStringVector topicIDList 
)
inlinevirtual

话题被删除

参数
groupID话题所属的社群 ID
topicIDList话题列表

◆ OnChangeTopicInfo()

virtual void OnChangeTopicInfo ( const V2TIMString groupID,
const V2TIMTopicInfo topicInfo 
)
inlinevirtual

话题更新

参数
topicInfo话题信息

◆ OnReceiveTopicRESTCustomData()

virtual void OnReceiveTopicRESTCustomData ( const V2TIMString topicID,
const V2TIMBuffer customData 
)
inlinevirtual

收到 RESTAPI 下发的话题自定义系统消息

参数
topicID话题 ID
customData自定义数据

◆ OnCreatePermissionGroup()

virtual void OnCreatePermissionGroup ( const V2TIMString groupID,
const V2TIMPermissionGroupInfo permissionGroupInfo 
)
inlinevirtual

权限组创建通知

◆ OnDeletePermissionGroup()

virtual void OnDeletePermissionGroup ( const V2TIMString groupID,
const V2TIMStringVector permissionGroupIDList 
)
inlinevirtual

权限组删除通知

◆ OnChangePermissionGroupInfo()

virtual void OnChangePermissionGroupInfo ( const V2TIMString groupID,
const V2TIMPermissionGroupInfo permissionGroupInfo 
)
inlinevirtual

权限组更新通知

◆ OnAddMembersToPermissionGroup()

virtual void OnAddMembersToPermissionGroup ( const V2TIMString groupID,
const V2TIMString permissionGroupID,
const V2TIMStringVector memberIDList 
)
inlinevirtual

添加成员到权限组中

◆ OnRemoveMembersFromPermissionGroup()

virtual void OnRemoveMembersFromPermissionGroup ( const V2TIMString groupID,
const V2TIMString permissionGroupID,
const V2TIMStringVector memberIDList 
)
inlinevirtual

从权限组中删除成员

◆ OnAddTopicPermission()

virtual void OnAddTopicPermission ( const V2TIMString groupID,
const V2TIMString permissionGroupID,
const V2TIMStringToUint64Map topicPermissionMap 
)
inlinevirtual

增加话题权限到权限组中通知

◆ OnDeleteTopicPermission()

virtual void OnDeleteTopicPermission ( const V2TIMString groupID,
const V2TIMString permissionGroupID,
const V2TIMStringVector topicIDList 
)
inlinevirtual

从权限组删除的话题权限通知

◆ OnModifyTopicPermission()

virtual void OnModifyTopicPermission ( const V2TIMString groupID,
const V2TIMString permissionGroupID,
const V2TIMStringToUint64Map topicPermissionMap 
)
inlinevirtual

权限组中的话题权限修改通知