FingerprintManagerCompat

Deprecated

FingerprintManager was removed from the platform SDK in Android C, use androidx.biometrics.BiometricPrompt instead.

A class that coordinates access to the fingerprint hardware.

This class has been deprecated and should no longer be used. On all platform versions, it behaves as though no fingerprint hardware is available.

Types

Link copied to clipboard
abstract class AuthenticationCallback
Callback structure provided to authenticate.
Link copied to clipboard
Container for callback data from authenticate.
Link copied to clipboard
open class CryptoObject
A wrapper class for the crypto objects supported by FingerprintManager.

Functions

Link copied to clipboard
open fun authenticate(@Nullable crypto: @Nullable FingerprintManagerCompat.CryptoObject, flags: Int, @Nullable cancel: @Nullable CancellationSignal, @NonNull callback: @NonNull FingerprintManagerCompat.AuthenticationCallback, @Nullable handler: @Nullable Handler)
open fun authenticate(@Nullable crypto: @Nullable FingerprintManagerCompat.CryptoObject, flags: Int, cancel: @Nullable CancellationSignal, @NonNull callback: @NonNull FingerprintManagerCompat.AuthenticationCallback, @Nullable handler: @Nullable Handler)
Prior to deprecation, this method would request authentication of a crypto object.
Link copied to clipboard
@NonNull
open fun from(@NonNull context: @NonNull Context): @NonNull FingerprintManagerCompat
Get a FingerprintManagerCompat instance for a provided context.
Link copied to clipboard
Prior to deprecation, this method would determine if there is at least one fingerprint enrolled.
Link copied to clipboard
Prior to deprecation, this method would determine if fingerprint hardware is present and functional.