java.lang.Object | |
↳ | android.support.v4.hardware.fingerprint.FingerprintManagerCompat |
A class that coordinates access to the fingerprint hardware.
On platforms before M
, this class behaves as there would
be no fingerprint hardware available.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
FingerprintManagerCompat.AuthenticationCallback |
Callback structure provided to authenticate(CryptoObject, int, CancellationSignal, AuthenticationCallback, Handler) .
|
||||||||||
FingerprintManagerCompat.AuthenticationResult |
Container for callback data from authenticate(CryptoObject, int, CancellationSignal, AuthenticationCallback, Handler) .
|
||||||||||
FingerprintManagerCompat.CryptoObject | A wrapper class for the crypto objects supported by FingerprintManager. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Request authentication of a crypto object.
| |||||||||||
Get a
FingerprintManagerCompat instance for a provided context.
| |||||||||||
Determine if there is at least one fingerprint enrolled.
| |||||||||||
Determine if fingerprint hardware is present and functional.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Request authentication of a crypto object. This call warms up the fingerprint hardware
and starts scanning for a fingerprint. It terminates when
onAuthenticationError(int, CharSequence)
or
{@link AuthenticationCallback#onAuthenticationSucceeded(AuthenticationResult) is called, at
which point the object is no longer valid. The operation can be canceled by using the
provided cancel object.
crypto | object associated with the call or null if none required. |
---|---|
flags | optional flags; should be 0 |
cancel | an object that can be used to cancel authentication |
callback | an object to receive authentication events |
handler | an optional handler for events |
Get a FingerprintManagerCompat
instance for a provided context.
Determine if there is at least one fingerprint enrolled.
Determine if fingerprint hardware is present and functional.