NIM PC Cross Platform SDK
载入中...
搜索中...
未找到
nim_cpp_data_sync.h
浏览该文件的文档.
1
7#ifndef _NIM_SDK_CPP_DATASYNC_H_
8#define _NIM_SDK_CPP_DATASYNC_H_
9
10#include <functional>
11#include <string>
13#include "nim_define_include.h"
18namespace nim {
23public:
25 typedef std::function<void(nim::NIMDataSyncType sync_type, nim::NIMDataSyncStatus status, const std::string& data_sync_info)> DataSyncCallback;
26
27public:
33 static void RegCompleteCb(const DataSyncCallback& cb);
34
39 static void UnregDataSyncCb();
40};
41
42} // namespace nim
43
44#endif //_NIM_SDK_CPP_DATASYNC_H_
NIM SDK提供的数据同步相关接口
Definition: nim_cpp_data_sync.h:22
std::function< void(nim::NIMDataSyncType sync_type, nim::NIMDataSyncStatus status, const std::string &data_sync_info)> DataSyncCallback
数据同步通知回调模板
Definition: nim_cpp_data_sync.h:25
namespace nim
NIM 公共数据类型定义总的包含文件
定义导出宏
#define NIM_SDK_CPPWRAPPER_DLL_API
Definition: nim_sdk_cpp_wrapper.h:38