コード例 #1
0
 internal Builder()
 {
     _userUpdate = new UserUpdate();
 }
コード例 #2
0
 public void SetUserDetails(UserUpdate userUpdate, Action onSuccess, Action <GetSocialError> onFailure)
 {
     DebugUtils.LogMethodCall(MethodBase.GetCurrentMethod(), userUpdate, onSuccess, onFailure);
 }
コード例 #3
0
 public void UpdateDetails(UserUpdate userUpdate, Action callback, Action <GetSocialError> failure)
 {
     CallAsyncVoid("CurrentUser.updateDetails", GSJson.Serialize(userUpdate), callback, failure);
 }
コード例 #4
0
 public void SetUserDetails(UserUpdate userUpdate, Action onSuccess, Action <GetSocialError> onFailure)
 {
     _user.CallStaticSafe("setUserDetails", userUpdate.ToAjo(), new CompletionCallback(onSuccess, onFailure));
 }
コード例 #5
0
 public void SetUserDetails(UserUpdate userUpdate, Action onSuccess, Action <GetSocialError> onFailure)
 {
     _gs_setUserDetails(userUpdate.ToJson(), Callbacks.ActionCallback, onSuccess.GetPointer(), Callbacks.FailureCallback,
                        onFailure.GetPointer());
 }
コード例 #6
0
 /// <summary>
 /// Requests a bulk change of properties for the current user.
 /// </summary>
 /// <param name="userUpdate">New user details.</param>
 /// <param name="callback">A callback to indicate if this operation was successful.</param>
 /// <param name="failure">Called if operation failed.</param>
 public void UpdateDetails(UserUpdate userUpdate, Action callback, Action <GetSocialError> failure)
 {
     GetSocialFactory.Bridge.UpdateDetails(userUpdate, callback, failure);
 }