Package com.creditcall.chipdnamobile
Interface IAvailablePinPadsListener
public interface IAvailablePinPadsListener
This interface is used to receive notifications of the available PIN pads after method
ChipDnaMobile.getAvailablePinPads(Parameters) is called.
Register the listener using ChipDnaMobile.addAvailablePinPadsListener(IAvailablePinPadsListener).- Author:
- Creditcall Ltd.
-
Method Summary
Modifier and TypeMethodDescriptionvoidonAvailablePinPads(Parameters parameters) Invoked after search of available PIN pads is complete.
-
Method Details
-
onAvailablePinPads
Invoked after search of available PIN pads is complete.- Parameters:
parameters-Parameterscollection which can contain:ParameterKeys.AvailablePinPadsAn XML representation of PIN pads found.ChipDnaMobileSerializer.deserializeAvailablePinPads(String)can be used to deserialize intoHashMapwith connection type as keys andArrayListof PIN pad names as values. The XML may also contain a "bluetooth-id" attribute for each PinPad; useChipDnaMobileSerializer.deserializeAvailablePinPadsWithId(String)to obtain a list ofAvailablePinPad(connection type, name, and Bluetooth ID per device, including duplicate display names).
-