NIM SDK API  8.5.0
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
13 extern "C" {
14 #endif
15 
30 NIM_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 
48 NIM_SDK_DLL_API void nim_session_online_service_query_session(int to_type,
49  const char* session_id,
51  const void* user_data);
52 
66 NIM_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 
81 NIM_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_session_online_service_delete_session_cb_func
void(* nim_session_online_service_delete_session_cb_func)(int rescode, const void *user_data)
Definition: nim_session_online_service_def.h:48
nim_session_online_service_reg_session_changed
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_session_online_service_query_session
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_session_online_service_delete_session
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)
nim_session_online_service_query_session_list_cb_func
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
nim_session_online_service_session_changed_cb_func
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
nim_session_online_service_update_session_cb_func
void(* nim_session_online_service_update_session_cb_func)(int rescode, const void *user_data)
Definition: nim_session_online_service_def.h:40
nim_session_online_service_update_session
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_session_online_service_query_session_cb_func
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
nim_session_online_service_query_session_list
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_session_online_service_def.h
会话服务接口相关的常量函数等定义头文件