NIM 跨平台 C++ SDK
载入中...
搜索中...
未找到
nim_sysmsg.h
浏览该文件的文档.
1
8#ifndef NIM_SDK_DLL_API_NIM_SYSMSG_H_
9#define NIM_SDK_DLL_API_NIM_SYSMSG_H_
10
11#include "nim_sysmsg_def.h"
12
13#ifdef __cplusplus
14extern "C" {
15#endif
24NIM_SDK_DLL_API void nim_sysmsg_reg_sysmsg_cb(const char* json_extension, nim_sysmsg_receive_cb_func cb, const void* user_data);
25
32NIM_SDK_DLL_API void nim_sysmsg_send_custom_notification(const char* json_msg, const char* json_extension);
33
42NIM_SDK_DLL_API void nim_sysmsg_reg_custom_notification_ack_cb(const char* json_extension, nim_custom_sysmsg_ack_cb_func cb, const void* user_data);
43
58 int64_t last_time,
59 const char* json_extension,
61 const void* user_data);
62
71NIM_SDK_DLL_API void nim_sysmsg_query_unread_count(const char* json_extension, nim_sysmsg_res_cb_func cb, const void* user_data);
72
89 enum NIMSysMsgStatus status,
90 const char* json_extension,
92 const void* user_data);
93
103NIM_SDK_DLL_API void nim_sysmsg_read_all_async(const char* json_extension, nim_sysmsg_res_cb_func cb, const void* user_data);
104
115NIM_SDK_DLL_API void nim_sysmsg_delete_async(int64_t msg_id, const char* json_extension, nim_sysmsg_res_ex_cb_func cb, const void* user_data);
116
126NIM_SDK_DLL_API void nim_sysmsg_delete_all_async(const char* json_extension, nim_sysmsg_res_cb_func cb, const void* user_data);
127
144 enum NIMSysMsgStatus status,
145 const char* json_extension,
147 const void* user_data);
148
163 const char* json_extension,
165 const void* user_data);
166
167#ifdef __cplusplus
168};
169#endif //__cplusplus
170#endif // NIM_SDK_DLL_API_NIM_SYSMSG_H_
#define NIM_SDK_DLL_API
Definition nim_build_config.h:14
NIM_SDK_DLL_API void nim_sysmsg_read_all_async(const char *json_extension, nim_sysmsg_res_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_sysmsg_set_status_async(int64_t msg_id, enum NIMSysMsgStatus status, const char *json_extension, nim_sysmsg_res_ex_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_sysmsg_delete_all_async(const char *json_extension, nim_sysmsg_res_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_sysmsg_delete_logs_by_type_async(enum NIMSysMsgType type, const char *json_extension, nim_sysmsg_res_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_sysmsg_set_logs_status_by_type_async(enum NIMSysMsgType type, enum NIMSysMsgStatus status, const char *json_extension, nim_sysmsg_res_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_sysmsg_delete_async(int64_t msg_id, const char *json_extension, nim_sysmsg_res_ex_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_sysmsg_reg_sysmsg_cb(const char *json_extension, nim_sysmsg_receive_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_sysmsg_reg_custom_notification_ack_cb(const char *json_extension, nim_custom_sysmsg_ack_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_sysmsg_send_custom_notification(const char *json_msg, const char *json_extension)
NIM_SDK_DLL_API void nim_sysmsg_query_msg_async(int limit_count, int64_t last_time, const char *json_extension, nim_sysmsg_query_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_sysmsg_query_unread_count(const char *json_extension, nim_sysmsg_res_cb_func cb, const void *user_data)
系统(自定义)消息 接口相关的常量函数等定义头文件
NIMSysMsgStatus
Definition nim_sysmsg_def.h:161
void(* nim_custom_sysmsg_ack_cb_func)(const char *result, const void *user_data)
Definition nim_sysmsg_def.h:21
void(* nim_sysmsg_res_ex_cb_func)(int res_code, int64_t msg_id, int unread_count, const char *json_extension, const void *user_data)
Definition nim_sysmsg_def.h:61
void(* nim_sysmsg_res_cb_func)(int res_code, int unread_count, const char *json_extension, const void *user_data)
Definition nim_sysmsg_def.h:50
void(* nim_sysmsg_query_cb_func)(int count, const char *result, const char *json_extension, const void *user_data)
Definition nim_sysmsg_def.h:40
NIMSysMsgType
Definition nim_sysmsg_def.h:177
void(* nim_sysmsg_receive_cb_func)(const char *content, const char *json_extension, const void *user_data)
Definition nim_sysmsg_def.h:30