NIM PC Cross Platform SDK
nim_subscribe_event.h
Go to the documentation of this file.
1
8#ifndef NIM_SDK_DLL_API_NIM_SUBSCRIBE_EVENT_H_
9#define NIM_SDK_DLL_API_NIM_SUBSCRIBE_EVENT_H_
10
12#include "public_defines.h"
13
14#ifdef __cplusplus
15extern "C" {
16#endif
17
26NIM_SDK_DLL_API void nim_subscribe_event_reg_push_event_cb(const char* json_extension, nim_push_event_cb_func cb, const void* user_data);
27
36NIM_SDK_DLL_API void nim_subscribe_event_reg_batch_push_event_cb(const char* json_extension, nim_batch_push_event_cb_func cb, const void* user_data);
37
51NIM_SDK_DLL_API void nim_publish_event(const char* event_json, const char* json_extension, nim_publish_event_cb_func cb, const void* user_data);
52
73NIM_SDK_DLL_API void nim_subscribe_event(int event_type,
74 int64_t ttl,
75 int sync_event,
76 const char* accid_list_json,
77 const char* json_extension,
79 const void* user_data);
80
97NIM_SDK_DLL_API void nim_unsubscribe_event(int event_type,
98 const char* accid_list_json,
99 const char* json_extension,
101 const void* user_data);
102
114NIM_SDK_DLL_API void nim_batch_unsubscribe_event(int event_type,
115 const char* json_extension,
117 const void* user_data);
118
135NIM_SDK_DLL_API void nim_query_subscribe_event(int event_type,
136 const char* accid_list_json,
137 const char* json_extension,
139 const void* user_data);
140
155NIM_SDK_DLL_API void nim_batch_query_subscribe_event(int event_type,
156 const char* json_extension,
158 const void* user_data);
159
160#ifdef __cplusplus
161}
162#endif
163
164#endif // NIM_SDK_DLL_API_NIM_SUBSCRIBE_EVENT_H_
NIM_SDK_DLL_API void nim_subscribe_event(int event_type, int64_t ttl, int sync_event, const char *accid_list_json, const char *json_extension, nim_subscribe_event_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_subscribe_event_reg_push_event_cb(const char *json_extension, nim_push_event_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_publish_event(const char *event_json, const char *json_extension, nim_publish_event_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_subscribe_event_reg_batch_push_event_cb(const char *json_extension, nim_batch_push_event_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_batch_query_subscribe_event(int event_type, const char *json_extension, nim_batch_query_subscribe_event_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_batch_unsubscribe_event(int event_type, const char *json_extension, nim_batch_unsubscribe_event_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_unsubscribe_event(int event_type, const char *accid_list_json, const char *json_extension, nim_unsubscribe_event_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_query_subscribe_event(int event_type, const char *accid_list_json, const char *json_extension, nim_query_subscribe_event_cb_func cb, const void *user_data)
事件订阅 接口相关的常量函数等定义头文件
void(* nim_batch_query_subscribe_event_cb_func)(int res_code, int event_type, const char *subscribe_list_json, const char *json_extension, const void *user_data)
Definition: nim_subscribe_event_def.h:221
void(* nim_query_subscribe_event_cb_func)(int res_code, int event_type, const char *subscribe_list_json, const char *json_extension, const void *user_data)
Definition: nim_subscribe_event_def.h:205
void(* nim_subscribe_event_cb_func)(int res_code, int event_type, const char *faild_list_json, const char *json_extension, const void *user_data)
Definition: nim_subscribe_event_def.h:170
void(* nim_unsubscribe_event_cb_func)(int res_code, int event_type, const char *faild_list_json, const char *json_extension, const void *user_data)
Definition: nim_subscribe_event_def.h:183
void(* nim_batch_push_event_cb_func)(int res_code, const char *event_list_json, const char *json_extension, const void *user_data)
Definition: nim_subscribe_event_def.h:144
void(* nim_publish_event_cb_func)(int res_code, int event_type, const char *event_info_json, const char *json_extension, const void *user_data)
Definition: nim_subscribe_event_def.h:157
void(* nim_push_event_cb_func)(int res_code, const char *event_info_json, const char *json_extension, const void *user_data)
Definition: nim_subscribe_event_def.h:134
void(* nim_batch_unsubscribe_event_cb_func)(int res_code, int event_type, const char *json_extension, const void *user_data)
Definition: nim_subscribe_event_def.h:193
NIM SDK 及 NIM ChatRoom SDK 公用头文件