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