public interface SignatureOperationResult extends OperationResult
SignatureOperationResult
interface extends OperationResult
to provide results specific to signature capture operations.
It is used by the signature device implementation to inform an application about the completion and outcome of a signature capture operation.
The getResultCode()
method, inherited from OperationResult
, retrieves the operation's result code.
Standard result codes are defined in OperationResult
.
This interface also provides methods to retrieve different representations of the captured signature, such as compressed data and bitmap format.
CANCEL, ERR_DEVICE_BASE, ERR_GENERAL_ERROR, ERR_NO_INFO, ERR_NO_PERMISSION, ERR_TIMEOUT, NONE, SUCCESS
Modifier and Type | Method and Description |
---|---|
android.graphics.Bitmap |
getSignature()
Retrieves the signature as a bitmap.
|
byte[] |
getSignatureCompressData()
Retrieves the compressed signature data, typically in JBIG1 format.
|
int |
getSignatureLength()
Retrieves the length of the signature data.
|
getResultCode
byte[] getSignatureCompressData()
int getSignatureLength()
android.graphics.Bitmap getSignature()
Bitmap
representation of the signature.