public interface SecurePinpadListenerV2
Modifier and Type | Method and Description |
---|---|
void |
onDeleteButtonPressed()
Called when the user interacts with the secure keypad by pressing the "Delete" button.
|
void |
onError(String errorMessage)
Called when errors happened inside secure input.
|
void |
onFinish(PinAuthInput firstPin,
PinAuthInput secondPin)
This method is used to get the callback from keypad when user finished
entering the pin(s) and pressing the OK button in the end.
|
void |
onInputFieldSelected(int inputField)
Called when the user interacts with the secure keypad and causes a focus change of the input field
|
void |
onKeyPressedCountChanged(int newCount,
int inputField)
Called when user presses the keypad button and changes the number of PIN digits in the selected input field.
|
void |
onOkButtonPressed()
Called when the user interacts with the secure keypad by pressing the "OK" button.
|
void onKeyPressedCountChanged(int newCount, int inputField)
newCount
- PIN digits count for the selected input field.inputField
- The current selected input field. 0 for the first input field, and 1 for the second input field.void onInputFieldSelected(int inputField)
SecureInputUi.selectInputField(int)
method.inputField
- The current selected input field. 0 for the first input field, and 1 for the second input field.void onOkButtonPressed()
void onDeleteButtonPressed()
void onFinish(PinAuthInput firstPin, PinAuthInput secondPin)
firstPin
- PinAuthInput object that created from the first input field datasecondPin
- PinAuthInput object that created from the second input field data.
The secondPin will be null if
isDoubleInputField
(as one of the parameters of the method buildPinpad) is set
as false.void onError(String errorMessage)
errorMessage
- is the message that describes the error.