Package com.creditcall.chipdnamobile
Interface ISignatureCaptureListener
public interface ISignatureCaptureListener
This interface is used to receive notification when signature capture is required during a transaction.
Before calling
ChipDnaMobile.startTransaction(Parameters) register this listener using ChipDnaMobile.addSignatureCaptureListener(ISignatureCaptureListener).- Author:
- Creditcall Ltd.
-
Method Summary
Modifier and TypeMethodDescriptionvoidonSignatureCapture(Parameters parameters) Invoked when signature verification is required.
-
Method Details
-
onSignatureCapture
Invoked when signature verification is required.- Parameters:
parameters-Parameterscollection which can contain:ParameterKeys.ResponseRequiredindicating whether the integrating application needs to respond. When the value isParameterValues.TRUEa call toChipDnaMobile.continueSignatureCapture(Parameters)is required for the transaction to continue. When the value isParameterValues.FALSE, this is just a notification and no action is needed.ParameterKeys.ReceiptDataserialized receipt data in XML format. The data can be deserialized into an NSDictionary usingChipDnaMobileSerializer.deserializeReceiptData(String). The deserialized NSDictionary will have the stringChipDnaMobileSerializer.ReceiptItemTagas keys andReceiptFieldobjects as values.
-