Package com.thalesgroup.gemalto.d1
Class PINEntryUI
- java.lang.Object
-
- com.thalesgroup.gemalto.d1.PINEntryUI
-
public abstract class PINEntryUI extends Object
Class for PIN entry UI used inD1Task.changePIN(String, SecureEditText, SecureEditText, ChangePINOptions, PINEventListener)
operation.- Since:
- 3.3.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PINEntryUI.PINEvent
Enum class for PIN entry events.static interface
PINEntryUI.PINEventListener
The listener interface for PIN events.
-
Constructor Summary
Constructors Modifier Constructor Description protected
PINEntryUI()
Internal constructor.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract void
submit(D1Task.Callback<Void> callback)
Validates the inputted PIN in PIN entries and submits the PIN change request.abstract void
wipe()
Wipes the sensitive data of the PIN entry UI.
-
-
-
Method Detail
-
wipe
public abstract void wipe()
Wipes the sensitive data of the PIN entry UI. The related text entries will be cleared.- Since:
- 3.3.0
-
submit
public abstract void submit(@NonNull D1Task.Callback<Void> callback)
Validates the inputted PIN in PIN entries and submits the PIN change request.- Parameters:
callback
- The callback invoked when the operation is completed. When it succeeds, the returned argument of theD1Task.Callback.onSuccess(Object)
is always null. Otherwise, it returns the error details.
Possible errors:
D1Exception.ErrorCode.ERROR_NOT_LOGGED_IN
D1Exception.ErrorCode.ERROR_NOT_AUTHORIZED
D1Exception.ErrorCode.ERROR_DEVICE_ENVIRONMENT_UNSAFE
D1Exception.ErrorCode.ERROR_CORE
D1Exception.ErrorCode.ERROR_CARD
D1Exception.ErrorCode.ERROR_CARD_NOT_FOUND
D1Exception.ErrorCode.ERROR_PIN_MISMATCH
D1Exception.ErrorCode.ERROR_PIN_INVALID
- Since:
- 3.3.0
-
-