Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Current »

ValidateOtpTask.runTask(new TaskListener() {
    @Override
    public void onTaskSuccess() {
    }

    @Override
    public void onTaskError(String errorMessage, int errorCode) {
        if (errorCode == OTP_VALIDATION_FAILED_ERROR) {
            // An invalid OTP value was entered by the user.
        } else {
            // Another error occurred processing the request.
        }
    }
}, serverUrl, mSessiontoken, otpCode);
  • No labels