BiometricPrompt.AuthenticationResult | API reference | Android Developers (original) (raw)
public class BiometricPrompt.AuthenticationResult
A container for data passed to [onAuthenticationSucceeded](/reference/androidx/biometric/BiometricPrompt.AuthenticationCallback#onAuthenticationSucceeded%28androidx.biometric.BiometricPrompt.AuthenticationResult%29) when the user has successfully authenticated.
Summary
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. |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2026-03-25 UTC.