public interface FingerprintOperationResult extends OperationResult
FingerprintOperationResult interface is implemented by fingerprint device
implementations to communicate the outcome of an operation to the application.
This interface extends OperationResult. It uses the getResultCode()
method, inherited from OperationResult, to determine the success or failure of the operation. Specific
constants defined within OperationResult are used to represent various outcomes of the operation.
In addition to the operation's completion status, this interface provides a method to retrieve the resulting fingerprint data, if the operation involves capturing or processing a fingerprint.
CANCEL, ERR_DEVICE_BASE, ERR_GENERAL_ERROR, ERR_NO_INFO, ERR_NO_PERMISSION, ERR_TIMEOUT, NONE, SUCCESS| Modifier and Type | Method and Description |
|---|---|
Fingerprint |
getFingerprint(int width,
int height)
Retrieves the fingerprint data resulting from the operation.
|
getResultCodeFingerprint getFingerprint(int width, int height)
width - The width of the bitmap representation of the fingerprint.height - The height of the bitmap representation of the fingerprint.Fingerprint object containing the fingerprint data, or null if no fingerprint
was captured or processed.