EnterPinDialog

public class EnterPinDialog implements EnterPin

Implementation of EnterPin interface, using a DialogFragment to display UI for the user.

Constructors

EnterPinDialog

public EnterPinDialog()

Creates a EnterPinDialog instance.

Methods

dismissEnterPin

public void dismissEnterPin()

Stops asking the user to enter PIN value.

enterPin

public void enterPin(Pin pin, EnterPin.Callback callback)

Shows a dialog fragment asking the user to enter PIN value. If PIN is successfully verified or if PIN is blocked, dialog is closed.

Parameters:
  • pin – the PIN to verify.
  • callback – object to use as a callback.

enterPin

public void enterPin(int slot, EnterPin.Callback callback)

Shows a dialog fragment asking the user to enter PIN value. If PIN is successfully verified or if PIN is blocked, dialog is closed.

Parameters:
  • slot – the slot of the PIN to verify.
  • callback – object to use as a callback.