Beispiel #1
0
 internal Builder()
 {
     _userUpdate = new UserUpdate();
 }
 public void SetUserDetails(UserUpdate userUpdate, Action onSuccess, Action <GetSocialError> onFailure)
 {
     DebugUtils.LogMethodCall(MethodBase.GetCurrentMethod(), userUpdate, onSuccess, onFailure);
 }
Beispiel #3
0
 public void UpdateDetails(UserUpdate userUpdate, Action callback, Action <GetSocialError> failure)
 {
     CallAsyncVoid("CurrentUser.updateDetails", GSJson.Serialize(userUpdate), callback, failure);
 }
Beispiel #4
0
 public void SetUserDetails(UserUpdate userUpdate, Action onSuccess, Action <GetSocialError> onFailure)
 {
     _user.CallStaticSafe("setUserDetails", userUpdate.ToAjo(), new CompletionCallback(onSuccess, onFailure));
 }
Beispiel #5
0
 public void SetUserDetails(UserUpdate userUpdate, Action onSuccess, Action <GetSocialError> onFailure)
 {
     _gs_setUserDetails(userUpdate.ToJson(), Callbacks.ActionCallback, onSuccess.GetPointer(), Callbacks.FailureCallback,
                        onFailure.GetPointer());
 }
Beispiel #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);
 }