|
NIM C# SDK
6.3.0
|
Classes | |
| class | DataSyncAPI |
| class | DataSyncNativeMethods |
Enumerations | |
| enum | NIMDataSyncType { NIMDataSyncType.kNIMDataSyncTypeUnreadMsg = 2, NIMDataSyncType.kNIMDataSyncTypeTeamInfo = 3, NIMDataSyncType.kNIMDataSyncTypeRoamMsg = 7, NIMDataSyncType.kNIMDataSyncTypeTeamUserList = 1000, NIMDataSyncType.kNIMDataSyncTypeAllTeamUserList = 1001 } |
| 数据同步类型 More... | |
| enum | NIMDataSyncStatus { NIMDataSyncStatus.kNIMDataSyncStatusComplete = 1 } |
| 数据同步状态 More... | |
Functions | |
| internal delegate void | DataSyncCb (NIMDataSyncType syncType, NIMDataSyncStatus status, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(NimUtility.Utf8StringMarshaler))] string jsonAttachment, IntPtr userData) |
| 数据同步回调 More... | |
| delegate void | DataSyncDelegate (NIMDataSyncType syncType, NIMDataSyncStatus status, string jsonAttachment) |
|
strong |
|
strong |
| internal delegate void NIM.DataSync.DataSyncCb | ( | NIMDataSyncType | syncType, |
| NIMDataSyncStatus | status, | ||
| [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(NimUtility.Utf8StringMarshaler))] string | jsonAttachment, | ||
| IntPtr | userData | ||
| ) |
数据同步回调
| syncType | 数据同步类型 |
| status | 数据同步状态 |
| jsonAttachment | 输出的json字符串内容 |
| userData | APP的自定义用户数据,SDK只负责传回给回调函数,不做任何处理! |
| delegate void NIM.DataSync.DataSyncDelegate | ( | NIMDataSyncType | syncType, |
| NIMDataSyncStatus | status, | ||
| string | jsonAttachment | ||
| ) |