FileDocCategorySizeDatePackage
FingerprintManagerReceiver.javaAPI DocAndroid 5.1 API3186Thu Mar 12 22:22:10 GMT 2015android.service.fingerprint

FingerprintManagerReceiver

public class FingerprintManagerReceiver extends Object
hide

Fields Summary
Constructors Summary
Methods Summary
public voidonAcquired(int acquiredInfo)
Fingerprint touch detected, but not processed yet. Clients will use this message to determine a good or bad scan before the fingerprint is processed. This is meant for the client to provide feedback about the scan or alert the user that recognition is to follow.

param
acquiredInfo one of: {@link FingerprintManager#FINGERPRINT_ACQUIRED_GOOD}, {@link FingerprintManager#FINGERPRINT_ACQUIRED_PARTIAL}, {@link FingerprintManager#FINGERPRINT_ACQUIRED_INSUFFICIENT}, {@link FingerprintManager#FINGERPRINT_ACQUIRED_IMAGER_DIRTY}, {@link FingerprintManager#FINGERPRINT_ACQUIRED_TOO_SLOW}, {@link FingerprintManager#FINGERPRINT_ACQUIRED_TOO_FAST}

 
public voidonEnrollResult(int fingerprintId, int remaining)
Fingerprint enrollment progress update. Enrollment is considered complete if remaining hits 0 without {@link #onError(int)} being called.

param
fingerprintId the fingerprint we're currently enrolling
param
remaining the number of samples required to complete enrollment. It's up to the hardware to define what each step in enrollment means. Some hardware requires multiple samples of the same part of the finger. Others require sampling of different parts of the finger. The enrollment flow can use remaining to mean "step x" of the process or "just need another sample."

 
public voidonError(int error)
An error was detected during scan or enrollment. One of {@link FingerprintManager#FINGERPRINT_ERROR_HW_UNAVAILABLE}, {@link FingerprintManager#FINGERPRINT_ERROR_UNABLE_TO_PROCESS} or {@link FingerprintManager#FINGERPRINT_ERROR_TIMEOUT} {@link FingerprintManager#FINGERPRINT_ERROR_NO_SPACE}

param
error one of the above error codes

 
public voidonProcessed(int fingerprintId)
Fingerprint has been detected and processed. A non-zero return indicates a valid fingerprint was detected.

param
fingerprintId the finger id, or 0 if not recognized.

 
public voidonRemoved(int fingerprintId)
The given fingerprint template was successfully removed by the driver. See {@link FingerprintManager#remove(int)}

param
fingerprintId id of template to remove.