Google은 흑인 공동체를 위한 인종 간 평등을 진전시키기 위해 노력하고 있습니다. Google에서 어떤 노력을 하고 있는지 확인하세요.

BiometricPrompt.AuthenticationResult

public static class BiometricPrompt.AuthenticationResult
extends Object

java.lang.Object
   ↳ androidx.biometric.BiometricPrompt.AuthenticationResult


A container for data passed to BiometricPrompt.AuthenticationCallback.onAuthenticationSucceeded(AuthenticationResult) when the user has successfully authenticated.

Summary

Public methods

int getAuthenticationType()

Gets the type of authentication (e.g.

BiometricPrompt.CryptoObject getCryptoObject()

Gets the BiometricPrompt.CryptoObject associated with this transaction.

Inherited methods

Public methods

getAuthenticationType

public int getAuthenticationType ()

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

public BiometricPrompt.CryptoObject getCryptoObject ()

Gets the BiometricPrompt.CryptoObject associated with this transaction.

Returns
BiometricPrompt.CryptoObject The BiometricPrompt.CryptoObject provided to authenticate().