|
|
typedef std::function< int32_t(const std::string &)> | BadgeCountCallback |
| | app角标未读计数通知回调模板 (仅iOS有效)
|
| |
|
typedef std::function< void(nim::NIMResCode, const SessionData &, int)> | ChangeCallback |
| | 会话变更通知回调模板
|
| |
|
typedef std::function< void(int, const SessionDataList &)> | QuerySessionListCallabck |
| | 查询会话列表回调模板
|
| |
|
typedef ChangeCallback | DeleteRecentSessionCallabck |
| | 删除会话回调模板
|
| |
|
typedef ChangeCallback | DeleteAllRecentSessionCallabck |
| | 删除全部会话回调模板
|
| |
|
typedef ChangeCallback | SetUnreadCountZeroCallback |
| | 会话未读消息数清零回调模板
|
| |
|
typedef std::function< void(nim::NIMResCode, const std::list< SessionData > &session_data_list, int unread_count)> | SetMultiUnreadCountZeroCallback |
| | 多条会话未读消息数清零回调模板
|
| |
|
typedef std::function< void(nim::NIMResCode, const SessionData &)> | QuerySessionDataCallback |
| | 会话信息查询结果回调模板
|
| |
|
typedef std::function< void(const StickTopSession &)> | SetToStickTopSessionNotifyCallback |
| | 置顶会话通知回调模板
|
| |
|
typedef std::function< void(const std::string &session_id, nim::NIMSessionType)> | CancelStickTopSessionNotifyCallback |
| | 取消置顶会话通知回调模板
|
| |
|
typedef std::function< void(const StickTopSession &)> | UpdateStickTopSessionNotifyCallback |
| | 更新置顶会话通知回调模板
|
| |
|
typedef std::function< void(nim::NIMResCode, const StickTopSession &)> | SetToStickTopSessionCallback |
| | 置顶会话回调模板
|
| |
|
typedef std::function< void(nim::NIMResCode, const std::string &session_id, nim::NIMSessionType)> | CancelStickTopSessionCallback |
| | 取消置顶会话回调模板
|
| |
|
typedef std::function< void(nim::NIMResCode, const StickTopSession &)> | UpdateStickTopSessionCallback |
| | 更新置顶会话回调模板
|
| |
|
typedef std::function< void(nim::NIMResCode, const StickTopSessionList &)> | QueryStickTopSessionListCallback |
| | 查询置顶会话列表回调模板
|
| |
|
typedef std::function< void(nim::NIMResCode, const SessionRoamMsgHasMoreTagInfo &info)> | QueryHasmoreRoammsgCallback |
| | 查询会话是漫游消息未拉取信息回调模板
|
| |
|
typedef std::function< void(nim::NIMResCode, const std::list< SessionRoamMsgHasMoreTagInfo > &info_list)> | QueryAllHasmoreRoammsgCallback |
| | 查询所有漫游消息未拉取完全的会话回调模板
|
| |
|
typedef std::function< void(nim::NIMResCode)> | UpdateHasmoreRoammsgCallback |
| | 更新会话是漫游消息未拉取信息回调模板
|
| |
|
typedef std::function< void(nim::NIMResCode)> | DeleteHasmoreRoammsgCallback |
| | 删除会话是漫游消息未拉取信息回调模板
|
| |
|
typedef std::function< void(nim::NIMResCode, nim::NIMSessionType, const std::string &session_id)> | DeleteSessionRoammsgCallback |
| | 删除会话是漫游消息未拉取信息回调模板
|
| |
|
| static void | RegChangeCb (const ChangeCallback &cb, const std::string &json_extension="") |
| |
| static void | RegBadgeCountCb (const BadgeCountCallback &cb, const std::string &json_extension="") |
| |
| static void | QueryLastFewSessionAsync (int limit, const QuerySessionListCallabck &cb, const std::string &json_extension="") |
| |
| static void | QueryAllRecentSessionAsync (const QuerySessionListCallabck &cb, const std::string &json_extension="") |
| |
|
static void | QueryAllRecentSessionAsnc (NIMMessageType last_msg_excluded_type, const QuerySessionListCallabck &cb, const std::string &json_extension="") |
| |
| static void | QueryAllRecentSessionAsyncEx (const std::list< NIMMessageType > &last_msg_excluded_type, const QuerySessionListCallabck &cb, const std::string &json_extension="") |
| |
| static bool | DeleteRecentSession (nim::NIMSessionType to_type, const std::string &id, const DeleteRecentSessionCallabck &cb, const std::string &json_extension="") |
| |
| static bool | DeleteRecentSessionEx (nim::NIMSessionType to_type, const std::string &id, const DeleteRecentSessionCallabck &cb, bool delete_roaming) |
| |
| static bool | DeleteSessionRoamingMessage (nim::NIMSessionType to_type, const std::string &id, const DeleteSessionRoammsgCallback &cb, const std::string &json_extension="") |
| |
| static void | DeleteAllRecentSession (const DeleteAllRecentSessionCallabck &cb, const std::string &json_extension="") |
| |
| static bool | SetUnreadCountZeroAsync (nim::NIMSessionType to_type, const std::string &id, const SetUnreadCountZeroCallback &cb, const std::string &json_extension="") |
| |
| static bool | SetMultiUnreadCountZeroAsync (bool super_team, const std::list< MultiUnreadCountZeroInfo > &unread_zero_info_list, const SetMultiUnreadCountZeroCallback &cb) |
| |
| static bool | SetSessionTop (enum NIMSessionType to_type, const std::string &id, bool top, const ChangeCallback &cb, const std::string &json_extension="") |
| |
| static bool | SetSessionExtendData (enum NIMSessionType to_type, const std::string &id, const std::string &data, const ChangeCallback &cb, const std::string &json_extension="") |
| |
| static bool | SetAllUnreadCountZeroAsync (const SetUnreadCountZeroCallback &cb, const std::string &json_extension="") |
| |
| static void | QuerySessionDataById (NIMSessionType to_type, const std::string &id, const QuerySessionDataCallback &cb, const std::string &json_extension="") |
| |
| static void | RegSetToStickTopSessionNotifyCB (const SetToStickTopSessionNotifyCallback &cb) |
| |
| static void | RegCancelStickTopSessionNotifyCB (const CancelStickTopSessionNotifyCallback &cb) |
| |
| static void | RegUpdateStickTopSessionNotifyCB (const UpdateStickTopSessionNotifyCallback &cb) |
| |
| static void | QueryStickTopSessionList (const QueryStickTopSessionListCallback &cb) |
| |
| static void | SetToStickTopSession (const std::string &session_id, nim::NIMSessionType to_type, const std::string &ext, const SetToStickTopSessionCallback &cb) |
| |
| static void | UpdateToStickTopSession (const std::string &session_id, nim::NIMSessionType to_type, const std::string &ext, const UpdateStickTopSessionCallback &cb) |
| |
| static void | CancelToStickTopSession (const std::string &session_id, nim::NIMSessionType to_type, const CancelStickTopSessionCallback &cb) |
| |
| static void | QueryHasmoreRoammsg (const std::string &session_id, nim::NIMSessionType to_type, const QueryHasmoreRoammsgCallback &cb) |
| |
| static void | QueryAllHasmoreRoammsg (const QueryAllHasmoreRoammsgCallback &cb) |
| |
| static void | UpdateHasmoreRoammsg (const IMMessage &msg, const UpdateHasmoreRoammsgCallback &cb) |
| |
| static void | DeleteHasmoreRoammsg (const std::string &session_id, nim::NIMSessionType to_type, const DeleteHasmoreRoammsgCallback &cb) |
| |
| static void | UnregSessionCb () |
| |
会话列表管理功能;主要包括查询会话列表、删除会话列表等功能