private void OnDataSyncCompleted(NIMDataSyncType syncType, NIMDataSyncStatus status, string jsonAttachment) { if (syncType == NIMDataSyncType.kNIMDataSyncTypeTeamInfo) { _teamList.LoadTeams(); } if (syncType == NIMDataSyncType.kNIMDataSyncTypeTeamUserList) { NIM.Team.TeamAPI.QueryTeamMembersInfo(jsonAttachment, true, false, (a, b, c, d) => { }); } }
private static void DataSyncCompletedCallback(NIMDataSyncType syncType, NIMDataSyncStatus status, string jsonAttachment, IntPtr ptr) { ptr.Invoke <DataSyncDelegate>(syncType, status, jsonAttachment); }
private static void OnDataSyncCompleted(NIMDataSyncType syncType, NIMDataSyncStatus status, string jsonAttachment) { System.Diagnostics.Debug.WriteLine(string.Format("同步完成:{0} {1} {2}", syncType, status, jsonAttachment)); }