NIM C# SDK
6.3.0
|
Classes | |
class | SessionAPI |
class | SessionChangedEventArgs |
class | SessionInfo |
class | SessionNativeMethods |
class | SesssionInfoList |
Functions | |
delegate void | SessionChangeHandler (int rescode, SessionInfo result, int totalUnreadCounts) |
最近会话项更新通知的回调 More... | |
delegate void | QueryRecentHandler (int totalUnreadCount, SesssionInfoList result) |
查询所有最近会话项的回调 More... | |
internal delegate void | NimSessionChangeCbFunc (int rescode, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Utf8StringMarshaler))] string result, int total_unread_counts, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Utf8StringMarshaler))] string json_extension, IntPtr user_data) |
internal delegate void | NimSessionQueryRecentSessionCbFunc (int total_unread_count, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Utf8StringMarshaler))] string result, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Utf8StringMarshaler))] string json_extension, IntPtr user_data) |
|
strong |
会话操作命令
|
strong |
internal delegate void NIM.Session.NimSessionChangeCbFunc | ( | int | rescode, |
[MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Utf8StringMarshaler))] string | result, | ||
int | total_unread_counts, | ||
[MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Utf8StringMarshaler))] string | json_extension, | ||
IntPtr | user_data | ||
) |
internal delegate void NIM.Session.NimSessionQueryRecentSessionCbFunc | ( | int | total_unread_count, |
[MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Utf8StringMarshaler))] string | result, | ||
[MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Utf8StringMarshaler))] string | json_extension, | ||
IntPtr | user_data | ||
) |
delegate void NIM.Session.QueryRecentHandler | ( | int | totalUnreadCount, |
SesssionInfoList | result | ||
) |
查询所有最近会话项的回调
totalUnreadCount | 总的未读数目 |
result | 最近会话列表 |
delegate void NIM.Session.SessionChangeHandler | ( | int | rescode, |
SessionInfo | result, | ||
int | totalUnreadCounts | ||
) |
最近会话项更新通知的回调
rescode | 操作结果,成功200 |
result | 最近会话 |
totalUnreadCounts | 总的未读数目 |