public interface CheckoutHandler
Modifier and Type | Method and Description |
---|---|
void |
onError(android.graphics.Bitmap image,
java.lang.String checkoutId,
Error error)
Gets called when an error occurs while storing a signature.
|
void |
onSuccess(java.lang.String signatureUrl,
java.lang.String checkoutId)
Gets called when a signature is successfully stored for the given checkout id.
|
void onSuccess(java.lang.String signatureUrl, java.lang.String checkoutId)
signatureUrl
- the url for the signature image.checkoutId
- the checkout id associated with the signature.void onError(android.graphics.Bitmap image, java.lang.String checkoutId, Error error)
image
- the signature image to be stored.checkoutId
- the checkout id associated with the signature.error
- the error which caused the failure.