NIM 跨平台 C++ SDK
载入中...
搜索中...
未找到
nim_cpp_msglog.cpp 文件参考

NIM SDK提供的消息历史接口 更多...

struct  nim::ImportDbCallbackUserData
 
struct  nim::BuildMsglogIndexesUserData
 
class  nim::BuildMsglogIndexesUserDataMaker
 

命名空间

namespace  nim
 namespace nim
 

宏定义

#define DeclStringCopyToCharArrayLength(string, char_array)
 

函数

static void nim::CallbackQueryMsg (int res_code, const char *id, nim::NIMSessionType to_type, const char *result, const char *json_extension, const void *callback)
 
static void nim::CallbackGetMessages (int res_code, const char *id, nim::NIMSessionType to_type, const char *result, const char *json_extension, const void *callback)
 
static void nim::CallbackModifyMultipleMsglog (int res_code, const char *uid, nim::NIMSessionType to_type, const char *json_extension, const void *callback)
 
static void nim::CallbackModifySingleMsglog (int res_code, const char *msg_id, const char *json_extension, const void *user_data)
 
static void nim::CallbackMsglogRes (int res_code, const char *json_extension, const void *user_data)
 
static void nim::CallbackImportDBProgress (int64_t imported_count, int64_t total_count, const char *json_extension, const void *callback)
 
static void nim::CallbackQueryMsgByID (int res_code, const char *msg_id, const char *msg, const char *json_extension, const void *callback)
 
static void nim::CallbackIsMessageIndexEstablished (bool established, const void *callback)
 
static void nim::CallbackBuildMsglogIndexes (NIMBuildingMsglogIndexesCompleteReason reason, const char *error_message, const void *user_data)
 
static void nim::CallbackMsglogIndexesProgress (uint32_t total, uint32_t built_count, const void *callback)
 
static void nim::CallbackMsgStatusChanged (int rescode, const char *result, const char *json_extent, const void *callback)
 

变量

MsgLog::DeleteMsglogSelfNotifyCallback nim::g_delete_msglog_self_notify_cb = nullptr
 
MsgLog::DeleteHistoryOnLineNotifyCallback nim::g_delete_history_messages_notify_cb = nullptr
 
static MsgLog::MessageStatusChangedCallback nim::g_cb_msg_status_changed_cb_ = nullptr
 

详细描述

NIM SDK提供的消息历史接口

日期
2015/2/1

宏定义说明

◆ DeclStringCopyToCharArrayLength

#define DeclStringCopyToCharArrayLength ( string,
char_array )
值:
((((string).length()) >= (sizeof((char_array)) / sizeof(decltype((char_array)[0])))) \
? (sizeof((char_array)) / sizeof(decltype((char_array)[0])) - 1) \
: ((string).length()))