override fun enrollmentFinish(
enrollmentResponse: String?,
// Please make sure to use runOnUiThread() if you need to handle UI changes
Log.e(TAG, "Enrollment failed: " + error.title +
" Message: " + error.message + " Code: " + error.code +
" Cancelled by user: " + error.userCancelled);
// Revert any changes up to this point
// Handle successful enrollment
// At this point the sign up process finished successfully
// Let the user know that signing up was successful and navigate to your next screen like the main screen