EditName - LOMENT-SDK/sdk-cashew-android GitHub Wiki

Edit Name

Call this method if you want to edit the name of the user on the server. This is accomplished by calling the UserManager().editName() and passing in valid email and name:

new UserManager().editName(
      context,
      email,
      name,
      this);

The edit name results are handled in the following callbacks:

@Override
public void onEditNameSuccess(final Context context, Bundle bundle) {
	//Handle Edit Name Success
}

@Override

public void onError(final Context context, CNError error, Bundle bundle) {
	//Handle Edit Name Error
}
⚠️ **GitHub.com Fallback** ⚠️