/// <summary> /// Loads the user information if available. /// <param name="userIds">The user ids to look up</param> /// <param name="callback">The callback</param> /// </summary> public void LoadUsers(string[] userIds, Action <IUserProfile[]> callback) { if (!IsAuthenticated()) { GooglePlayGames.OurUtils.Logger.e("GetUserId() can only be called after authentication."); callback(new IUserProfile[0]); } mClient.LoadUsers(userIds, callback); }
public void LoadUsers(string[] userIds, Action <IUserProfile[]> callback) { if (!IsAuthenticated()) { Logger.e("GetUserId() can only be called after authentication."); callback((IUserProfile[])new IUserProfile[0]); } else { mClient.LoadUsers(userIds, callback); } }