|
typedef std::function< void(NIMResCode res_code, const std::string &id, nim::NIMSessionType to_type, const QueryMsglogResult &result)> | QueryMsgCallback |
| 查询消息历史回调模板
|
|
typedef std::function< void(NIMResCode res_code, const std::string &msg_id, const IMMessage &msg)> | QuerySingleMsgCallback |
| 查询单条消息历史回调模板
|
|
typedef std::function< void(NIMResCode res_code, const std::string &uid, nim::NIMSessionType to_type)> | ModifyMultipleMsglogCallback |
| 修改(多条)消息历史回调模板
|
|
typedef ModifyMultipleMsglogCallback | BatchStatusReadCallback |
| 批量设置消息历史已读状态回调模板
|
|
typedef ModifyMultipleMsglogCallback | BatchStatusDeleteCallback |
| 批量删除消息历史回调模板
|
|
typedef ModifyMultipleMsglogCallback | DeleteBySessionTypeCallback |
| 批量删除消息历史回调模板
|
|
typedef std::function< void(NIMResCode res_code, const std::string &msg_id)> | ModifySingleMsglogCallback |
| 修改(单条)消息历史回调模板
|
|
typedef ModifySingleMsglogCallback | SetStatusCallback |
| 修改消息历史状态回调模板
|
|
typedef ModifySingleMsglogCallback | SetSubStatusCallback |
| 修改消息历史子状态回调模板
|
|
typedef ModifySingleMsglogCallback | UpdateLocalExtCallback |
| 修改消息历史本地扩展字段内容回调模板
|
|
typedef ModifySingleMsglogCallback | WriteMsglogCallback |
| 保存消息历史回调模板
|
|
typedef ModifySingleMsglogCallback | DeleteCallback |
| 删除消息历史回调模板
|
|
typedef std::function< void(const DeleteMsglogSelfNotifyParam &)> | DeleteMsglogSelfNotifyCallback |
| 单向删除消息记录通知回调
|
|
typedef std::function< void(NIMResCode res_code)> | DBFunctionCallback |
| 消息历史变更回调模板
|
|
typedef std::function< void(NIMResCode res_code)> | DeleteMsglogSelfCallback |
| 单向删除消息记录回调
|
|
typedef DBFunctionCallback | DeleteAllCallback |
| 删除全部消息历史回调模板
|
|
typedef DBFunctionCallback | DeleteMsgByTimeCallback |
| 根据时间段删除部分消息历史回调模板
|
|
typedef std::function< void(int64_t imported_count, int64_t total_count)> | ImportDbPrgCallback |
| 导入消息历史回调模板
|
|
typedef std::function< void(const MessageStatusChangedResult &)> | MessageStatusChangedCallback |
| 发送消息已读回执通知回调模板
|
|
typedef std::function< void(const NIMResCode, const std::string &)> | DeleteHistoryOnLineAsyncCallback |
| 删除与某账号(p2p)的所有云端历史记录与漫游消息的回调模板
|
|
typedef std::function< void(const NIMResCode, const std::string &, nim::NIMSessionType, uint64_t, const std::string &)> | DeleteHistoryOnLineAsyncExCallback |
| 删除某一会话的云端的历史记录的回调模板
|
|
typedef std::function< void(const std::list< NIMDeleteSessionHistoryMessagesNotifyInfo > &info_list)> | DeleteHistoryOnLineNotifyCallback |
| 删除会话的云端的历史记录推送的回调模板
|
|
typedef std::function< void(const NIMResCode res_code, const std::string &client_id, bool is_root, int reply_count)> | QueryMessageIsThreadRootAsyncCallback |
| 查询消息是否是thread聊天的根消息回调模板
|
|
typedef std::function< void(const NIMResCode res_code, const std::string &client_id, const IMMessage &msg)> | QueryMessageOnlineCallback |
| 查询某条消息的具体内容回调模板
|
|
typedef std::function< void(const NIMResCode res_code, const IMMessage &root_msg, int total, uint64_t last_msg_time, const std::list< IMMessage > &msg_list)> | QueryThreadHistoryMsgCallback |
| 分页查询thread talk消息历史回调模板
|
|
using | FullTextSearchOnlineAsyncCallback = std::function< void(nim::NIMResCode res_code, const QueryMsglogResult &message_list)> |
|
|
static void | UnregMsglogCb () |
|
static void | RegDeleteMsglogSelfNotify (const DeleteMsglogSelfNotifyCallback &cb) |
|
static void | RegDeleteHistoryMessagesNotify (const DeleteHistoryOnLineNotifyCallback &cb) |
|
static bool | QueryMsgByIDAysnc (const std::string &client_msg_id, const QuerySingleMsgCallback &cb, const std::string &json_extension="") |
|
static bool | QueryMsgAsync (const std::string &account_id, nim::NIMSessionType to_type, int limit_count, int64_t anchor_msg_time, const QueryMsgCallback &cb, const std::string &json_extension="") |
|
static bool | QueryMsgOnlineAsync (const QueryMsgOnlineAsyncParam ¶m, const QueryMsgCallback &cb) |
|
static bool | QueryMsgOnlineAsync (const std::string &id, nim::NIMSessionType to_type, int limit_count, int64_t from_time, int64_t end_time, int64_t end_msg_id, bool reverse, bool need_save_to_local, const QueryMsgCallback &cb, const std::string &json_extension="") |
|
static bool | QueryMsgByKeywordOnlineAsync (const MsgLog::QueryMsgByKeywordOnlineParam ¶m, const QueryMsgCallback &cb) |
|
static bool | QueryMsgOfSpecifiedTypeInASessionAsync (nim::NIMSessionType to_type, const std::string &id, int limit_count, int64_t from_time, int64_t end_time, const std::string &end_client_msg_id, bool reverse, std::list< NIMMessageType > msg_type, const QueryMsgCallback &cb, const std::string &json_extension="") |
|
static bool | QueryMsgByOptionsAsync (NIMMsgLogQueryRange query_range, const std::list< std::string > &ids, int limit_count, int64_t from_time, int64_t end_time, const std::string &end_client_msg_id, bool reverse, NIMMessageType msg_type, const std::string &search_content, const QueryMsgCallback &cb, const std::string &json_extension="") |
|
static bool | QueryMsgByOptionsAsyncEx (const QueryMsgByOptionsAsyncParam ¶m, const QueryMsgCallback &cb) |
|
static bool | BatchStatusReadAsync (const std::string &account_id, nim::NIMSessionType to_type, const BatchStatusReadCallback &cb, const std::string &json_extension="") |
|
static bool | BatchStatusDeleteAsync (const std::string &account_id, nim::NIMSessionType to_type, const BatchStatusDeleteCallback &cb, const std::string &json_extension="") |
|
static bool | BatchStatusDeleteAsyncEx (const std::string &account_id, nim::NIMSessionType to_type, bool revert_by_query_online, const BatchStatusDeleteCallback &cb, const std::string &json_extension="") |
|
static bool | SetStatusAsync (const std::string &msg_id, nim::NIMMsgLogStatus msglog_status, const SetStatusCallback &cb, const std::string &json_extension="") |
|
static bool | SetSubStatusAsync (const std::string &msg_id, nim::NIMMsgLogSubStatus msglog_sub_status, const SetSubStatusCallback &cb, const std::string &json_extension="") |
|
static bool | WriteMsglogToLocalAsync (const std::string &talk_id, const IMMessage &msg, bool need_update_session, const WriteMsglogCallback &cb, const std::string &json_extension="") |
|
static bool | WriteMsglogToLocalAsyncEx (const std::string &talk_id, const IMMessage &msg, bool need_update_session, bool compose_last_msg, const std::list< NIMMessageType > &exclude_msg_type, const WriteMsglogCallback &cb) |
| static bool WriteMsglogToLocalAsyncEx(const std::string& talk_id,
const IMMessage& msg,
bool need_update_session,
bool compose_last_msg,
const std::list<NIMMessageType>& exclude_msg_type,
const WriteMsglogCallback& cb) 只往本地消息历史数据库里写入一条消息(如果已存在这条消息,则更新。通常是APP的本地自定义消息,并不会发给服务器) More...
|
|
static bool | DeleteBySessionTypeAsync (bool delete_sessions, NIMSessionType to_type, const DeleteBySessionTypeCallback &cb, const std::string &json_extension="") |
|
static bool | DeleteBySessionTypeAsyncEx (bool delete_sessions, NIMSessionType to_type, bool revert_by_query_online, const DeleteBySessionTypeCallback &cb, const std::string &json_extension="") |
|
static bool | DeleteAsync (const std::string &session_id, NIMSessionType to_type, const std::string &msg_id, const DeleteCallback &cb, const std::string &json_extension="") |
|
static bool | DeleteAllAsync (bool delete_sessions, const DeleteAllCallback &cb, const std::string &json_extension="") |
|
static bool | DeleteAllAsyncEx (bool delete_sessions, bool revert_by_query_online, const DeleteAllCallback &cb, const std::string &json_extension="") |
|
static bool | DeleteMsgByTimeAsync (const std::string &session_id, NIMSessionType to_type, uint64_t timestamp1, uint64_t timestamp2, const DeleteMsgByTimeCallback &cb, const std::string &json_extension="") |
|
static bool | DeleteMsgByTimeAsyncEx (const std::string &session_id, NIMSessionType to_type, bool revert_by_query_online, uint64_t timestamp1, uint64_t timestamp2, const DeleteMsgByTimeCallback &cb, const std::string &json_extension="") |
|
static bool | ExportDbAsync (const std::string &dst_path, const DBFunctionCallback &cb, const std::string &json_extension="") |
|
static bool | ImportDbAsync (const std::string &src_path, const DBFunctionCallback &cb, const ImportDbPrgCallback &prg_cb, const std::string &json_extension="") |
|
static void | SendReceiptAsync (const std::string &json_msg, const MessageStatusChangedCallback &cb) |
|
static bool | QuerySentMessageBeReaded (const IMMessage &msg) |
|
static bool | QueryReceivedMsgReceiptSent (const IMMessage &msg) |
|
static void | RegMessageStatusChangedCb (const MessageStatusChangedCallback &cb, const std::string &json_extension="") |
|
static bool | UpdateLocalExtAsync (const std::string &msg_id, const std::string &local_ext, const UpdateLocalExtCallback &cb, const std::string &json_extension="") |
|
static void | UnregMsgologCb () |
|
static bool | ReadAllAsync (const DBFunctionCallback &cb, const std::string &json_extension="") |
|
static bool | ExportBackupToRemote (const LogsBackupExportInfo &export_info) |
|
static bool | ImportBackupFromRemote (const LogsBackupImportInfo &import_info) |
|
static void | CancelImportBackupFromRemote () |
|
static void | CancelExportBackupToRemote () |
|
static void | DeleteHistoryOnlineAsync (const std::string &accid, bool delete_roaming, const std::string &json_extension, const DeleteHistoryOnLineAsyncCallback &cb) |
|
static void | DeleteHistoryOnlineAsync (const std::string &accid, nim::NIMSessionType to_type, bool notify_self, const std::string &ext, const DeleteHistoryOnLineAsyncExCallback &cb) |
|
static void | DeleteMessageSelfAsync (const IMMessage &msg, const std::string ext, const DeleteMsglogSelfCallback &cb) |
|
static void | DeleteMessageSelfAsync (const std::list< std::tuple< IMMessage, std::string > > &msgs, const DeleteMsglogSelfCallback &cb) |
|
static void | QueryMessageIsThreadRoot (const std::string msg_client_id, const QueryMessageIsThreadRootAsyncCallback &cb) |
|
static void | QueryMessageOnline (const QueryMsgAsyncParam ¶m, const QueryMessageOnlineCallback &cb) |
|
static void | QueryThreadHistoryMsg (const IMMessage &msg, const QueryThreadHistoryMsgAsyncParam ¶m, const QueryThreadHistoryMsgCallback &cb) |
|
static void | FullTextSearchOnlineAsync (const FullTextSearchOnlineAsyncParam ¶m, const FullTextSearchOnlineAsyncCallback &cb) |
|