NIM SDK API
9.0.0
nim_cpp_wrapper
api
nim_cpp_data_sync.h
Go to the documentation of this file.
1
7
#ifndef _NIM_SDK_CPP_DATASYNC_H_
8
#define _NIM_SDK_CPP_DATASYNC_H_
9
10
#include <functional>
11
#include <string>
12
#include "nim_define_include.h"
13
#include "
nim_cpp_wrapper/nim_sdk_cpp_wrapper.h
"
18
namespace
nim
{
22
class
NIM_SDK_CPPWRAPPER_DLL_API
DataSync
{
23
public
:
24
typedef
std::function<void(nim::NIMDataSyncType sync_type, nim::NIMDataSyncStatus status,
const
std::string& data_sync_info)>
25
DataSyncCallback
;
27
public
:
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
namespace nim
nim::DataSync::DataSyncCallback
std::function< void(nim::NIMDataSyncType sync_type, nim::NIMDataSyncStatus status, const std::string &data_sync_info)> DataSyncCallback
Definition:
nim_cpp_data_sync.h:25
nim::DataSync
NIM SDK提供的数据同步相关接口
Definition:
nim_cpp_data_sync.h:22
nim_sdk_cpp_wrapper.h
定义导出宏
Generated on Mon Mar 14 2022 17:10:00 for NIM SDK API by
1.8.17