@Override public void onRetry() { resetPassword(newPassword, threePidCredentials, callback); } }));
/** * Reset the password to a new one. * * @param newPassword the new password * @param threePidCredentials the three pids. * @param callback the callback */ public void resetPassword(final String newPassword, final ThreePidCredentials threePidCredentials, final ApiCallback<Void> callback) { mProfileRestClient.resetPassword(newPassword, threePidCredentials, callback); }