BiometricPrompt.AuthenticationResult


class BiometricPrompt.AuthenticationResult


A container for data passed to onAuthenticationSucceeded when the user has successfully authenticated.

Summary

Public functions

Int

Gets the type of authentication (e.g. device credential or biometric) that was requested from and successfully provided by the user.

BiometricPrompt.CryptoObject?

Gets the CryptoObject associated with this transaction.

Public functions

getAuthenticationType

Added in 1.1.0
fun getAuthenticationType(): Int

Gets the type of authentication (e.g. device credential or biometric) that was requested from and successfully provided by the user.

Returns
Int

An integer representing the type of authentication that was used.

getCryptoObject

Added in 1.0.0
fun getCryptoObject(): BiometricPrompt.CryptoObject?

Gets the CryptoObject associated with this transaction.

Returns
BiometricPrompt.CryptoObject?

The CryptoObject provided to authenticate().