OnVerificationStateChangedCallbacks

The callbacks of verifyPhoneNumber.

The callbacks of verifyPhoneNumber.

The callbacks of verifyPhoneNumber.

Constructors

Link copied to clipboard
actual constructor()
expect constructor()
actual constructor()

Functions

Link copied to clipboard
actual open fun onCodeAutoRetrievalTimeOut(verificationId: String)

Auto-retrieval timed out without a code; the user must enter it.

expect open fun onCodeAutoRetrievalTimeOut(verificationId: String)

Auto-retrieval timed out without a code; the user must enter it.

actual open fun onCodeAutoRetrievalTimeOut(verificationId: String)

Auto-retrieval timed out without a code; the user must enter it.

Link copied to clipboard
actual open fun onCodeSent(verificationId: String, token: PhoneAuthProvider.ForceResendingToken)

An SMS code was sent; ask the user for it and call getCredential with verificationId.

expect open fun onCodeSent(verificationId: String, token: PhoneAuthProvider.ForceResendingToken)

An SMS code was sent; ask the user for it and call getCredential with verificationId.

actual open fun onCodeSent(verificationId: String, token: PhoneAuthProvider.ForceResendingToken)

An SMS code was sent; ask the user for it and call getCredential with verificationId.

Link copied to clipboard
actual abstract fun onVerificationCompleted(credential: PhoneAuthCredential)

The SDK verified the number itself; sign in with credential.

expect abstract fun onVerificationCompleted(credential: PhoneAuthCredential)

The SDK verified the number itself; sign in with credential.

actual abstract fun onVerificationCompleted(credential: PhoneAuthCredential)

The SDK verified the number itself; sign in with credential.

Link copied to clipboard
actual abstract fun onVerificationFailed(exception: FirebaseException)

Verification failed, e.g. with a FirebaseAuthInvalidCredentialsException for a malformed number.

expect abstract fun onVerificationFailed(exception: FirebaseException)

Verification failed, e.g. with a FirebaseAuthInvalidCredentialsException for a malformed number.

actual abstract fun onVerificationFailed(exception: FirebaseException)

Verification failed, e.g. with a FirebaseAuthInvalidCredentialsException for a malformed number.