Reset Password

Request a password reset email be sent for the provided email.

Android

/**
* @return Boolean - with few exceptions this method should always succeed and will simply return
* this bool which determines whether or not there were minor problems encountered along the way.
*/
fun resetPassword(email: String): VsLiveData<Boolean>
val email: String = "[email protected]"

SDK.Account.resetPassword(email)
  .observe(object : VsObserver<Boolean>() {
    override fun onError(error: Throwable) {
    }

    override fun onChanged(t: Boolean) {
    }
})

iOS

/// - Parameters:
///   - email: The player's account email.
///   - completionHandler: This closure will return a Bool value indicating the success or failure of the call
resetPassword(email: String, completionHandler: @escaping VersusApiResponse<VersusStatus>)