Created
July 31, 2018 17:00
-
-
Save bravecorvus/6364cd29786099e00364e98ef79c635d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//... | |
myVoiceIt.videoVerification({ | |
userId: userId, | |
contentLanguage : "en-us", | |
videoFilePath : "/Users/username/Downloads/verify.mp4" | |
},(jsonResponse)=>{ | |
if (jsonResponse["responseCode"] === "SUCC") { | |
// Add behavior for when user is successfully authenticated | |
} else { | |
// Add behavior for when video verification failed | |
} | |
}); | |
//... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment