|
NIM Unity SDK V2.6.0
|
类 | |
| class | SessionAPI |
| class | SessionChangedEventArgs |
| class | SessionInfo |
| class | SessionNativeMethods |
| class | SesssionInfoList |
枚举 | |
| enum | NIMSessionType { kNIMSessionTypeP2P = 0 , kNIMSessionTypeTeam = 1 } |
| 会话类型 更多... | |
| enum | NIMSessionCommand { kNIMSessionCommandAdd = 0 , kNIMSessionCommandRemove = 1 , kNIMSessionCommandRemoveAll = 2 , kNIMSessionCommandRemoveAllP2P = 3 , kNIMSessionCommandRemoveAllTeam = 4 , kNIMSessionCommandMsgDeleted = 5 , kNIMSessionCommandAllMsgDeleted = 6 , kNIMSessionCommandAllP2PMsgDeleted = 7 , kNIMSessionCommandAllTeamMsgDeleted = 8 , kNIMSessionCommandUpdate = 9 } |
| 会话操作命令 更多... | |
函数 | |
| delegate int | SessionBadgeCountDelegate (string jsonExtension) |
| 获取badge 数量回调 | |
| delegate void | SessionChangeHandler (int rescode, SessionInfo result, int totalUnreadCounts) |
| 最近会话项更新通知的回调 | |
| delegate void | QueryRecentHandler (int totalUnreadCount, SesssionInfoList result) |
| 查询所有最近会话项的回调 | |
会话操作命令
| delegate int NIM.Session.SessionBadgeCountDelegate | ( | string | jsonExtension | ) |
获取badge 数量回调
| jsonExtension |
| delegate void NIM.Session.SessionChangeHandler | ( | int | rescode, |
| SessionInfo | result, | ||
| int | totalUnreadCounts | ||
| ) |
最近会话项更新通知的回调
| rescode | 操作结果,成功200 |
| result | 最近会话 |
| totalUnreadCounts | 总的未读数目 |
| delegate void NIM.Session.QueryRecentHandler | ( | int | totalUnreadCount, |
| SesssionInfoList | result | ||
| ) |
查询所有最近会话项的回调
| totalUnreadCount | 总的未读数目 |
| result | 最近会话列表 |