NIM PC Cross Platform SDK
|
数据同步 接口相关的常量函数等定义头文件 More...
Go to the source code of this file.
Typedefs | |
typedef void(* | nim_data_sync_cb_func) (enum NIMDataSyncType sync_type, enum NIMDataSyncStatus status, const char *json_attachment, const void *user_data) |
Enumerations | |
enum | NIMDataSyncType { kNIMDataSyncTypeUnreadMsg = 2 , kNIMDataSyncTypeTeamInfo = 3 , kNIMDataSyncTypeRoamMsg = 7 , kNIMDataSyncTypeSuperTeamInfo = 22 , kNIMDataSyncTypeTeamUserList = 1000 , kNIMDataSyncTypeAllTeamUserList = 1001 , kNIMDataSyncTypeSuperTeamUserList = 1010 , kNIMDataSyncTypeAllSuperTeamUserList = 1011 } |
enum | NIMDataSyncStatus { kNIMDataSyncStatusComplete = 1 } |
数据同步 接口相关的常量函数等定义头文件
void(* nim_data_sync_cb_func)(NIMDataSyncType sync_type, NIMDataSyncStatus status, const char *json_attachment, const void *user_data) |
nim callback function that has been registered in nim_data_sync_reg_complete_cb API
[out] | sync_type | 数据同步类型 |
[out] | status | 数据同步状态 |
[out] | json_attachment | 输出的json字符串内容 |
[out] | user_data | APP的自定义用户数据,SDK只负责传回给回调函数,不做任何处理! |
enum NIMDataSyncStatus |
enum NIMDataSyncType |
数据同步类型