NIM PC Cross Platform SDK
nim_session_online_service.h
Go to the documentation of this file.
1
7#ifndef NIM_SDK_DLL_API_NIM_SESSION_ONLINE_SERVICE_H_
8#define NIM_SDK_DLL_API_NIM_SESSION_ONLINE_SERVICE_H_
9
11
12#ifdef __cplusplus
13extern "C" {
14#endif
30NIM_SDK_DLL_API void nim_session_online_service_query_session_list(uint64_t min_time,
31 uint64_t max_time,
32 bool need_last_msg,
33 int limit,
35 const void* user_data);
36
48NIM_SDK_DLL_API void nim_session_online_service_query_session(int to_type,
49 const char* session_id,
51 const void* user_data);
52
66NIM_SDK_DLL_API void nim_session_online_service_update_session(int to_type,
67 const char* session_id,
68 const char* ext,
70 const void* user_data);
71
81NIM_SDK_DLL_API void nim_session_online_service_delete_session(const char* session_list,
83 const void* user_data);
84
92
93#ifdef __cplusplus
94};
95#endif //__cplusplus
96
97#endif // NIM_SDK_DLL_API_NIM_DATA_SYNC_H_
NIM_SDK_DLL_API void nim_session_online_service_update_session(int to_type, const char *session_id, const char *ext, nim_session_online_service_update_session_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_session_online_service_query_session_list(uint64_t min_time, uint64_t max_time, bool need_last_msg, int limit, nim_session_online_service_query_session_list_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_session_online_service_query_session(int to_type, const char *session_id, nim_session_online_service_query_session_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_session_online_service_reg_session_changed(nim_session_online_service_session_changed_cb_func cb, const void *user_data)
NIM_SDK_DLL_API void nim_session_online_service_delete_session(const char *session_list, nim_session_online_service_delete_session_cb_func cb, const void *user_data)
会话服务接口相关的常量函数等定义头文件
void(* nim_session_online_service_session_changed_cb_func)(const char *session_info, const void *user_data)
Definition: nim_session_online_service_def.h:56
void(* nim_session_online_service_delete_session_cb_func)(int rescode, const void *user_data)
Definition: nim_session_online_service_def.h:48
void(* nim_session_online_service_update_session_cb_func)(int rescode, const void *user_data)
Definition: nim_session_online_service_def.h:40
void(* nim_session_online_service_query_session_cb_func)(int rescode, const char *result, const void *user_data)
Definition: nim_session_online_service_def.h:32
void(* nim_session_online_service_query_session_list_cb_func)(int rescode, const char *result, const void *user_data)
Definition: nim_session_online_service_def.h:23