Stay organized with collections
Save and categorize content based on your preferences.
AuthenticationResult
open class AuthenticationResult
Container for callback data from FingerprintManager.authenticate(CryptoObject,
.
Summary
Public methods
getCryptoObject
open fun getCryptoObject(): FingerprintManager.CryptoObject!
Deprecated: Deprecated in Java.
Obtain the crypto object associated with this transaction
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 2025-02-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[],null,["# FingerprintManager.AuthenticationResult\n\nAdded in [API level 23](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \nDeprecated in [API level 28](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nAuthenticationResult\n====================\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/hardware/fingerprint/FingerprintManager.AuthenticationResult \"View this page in Java\") \n\n```\nopen class AuthenticationResult\n```\n\n|---|---------------------------------------------------------------------------|\n| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) ||\n| ↳ | [android.hardware.fingerprint.FingerprintManager.AuthenticationResult](#) |\n\n*** ** * ** ***\n\n| **This class was deprecated in API level 28.**\n|\n| See [android.hardware.biometrics.BiometricPrompt.AuthenticationResult](../biometrics/BiometricPrompt.AuthenticationResult.html#)\n\nContainer for callback data from [FingerprintManager.authenticate(CryptoObject,](/reference/kotlin/android/hardware/fingerprint/FingerprintManager#authenticate(android.hardware.fingerprint.FingerprintManager.CryptoObject,%20android.os.CancellationSignal,%20kotlin.Int,%20android.hardware.fingerprint.FingerprintManager.AuthenticationCallback,%20android.os.Handler)).\n\nSummary\n-------\n\n| Public methods ||\n|-------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------|\n| open [FingerprintManager.CryptoObject](/reference/kotlin/android/hardware/fingerprint/FingerprintManager.CryptoObject)! | [getCryptoObject](#getCryptoObject())`()` Obtain the crypto object associated with this transaction |\n\nPublic methods\n--------------\n\n### getCryptoObject\n\nAdded in [API level 23](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nopen fun getCryptoObject(): FingerprintManager.CryptoObject!\n```\n\n**Deprecated:** *Deprecated in Java.*\n\nObtain the crypto object associated with this transaction\n\n| Return ||\n|--------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [FingerprintManager.CryptoObject](/reference/kotlin/android/hardware/fingerprint/FingerprintManager.CryptoObject)! | crypto object provided to [FingerprintManager.authenticate(CryptoObject,](/reference/kotlin/android/hardware/fingerprint/FingerprintManager#authenticate(android.hardware.fingerprint.FingerprintManager.CryptoObject,%20android.os.CancellationSignal,%20kotlin.Int,%20android.hardware.fingerprint.FingerprintManager.AuthenticationCallback,%20android.os.Handler)). |"]]