Package com.thalesgroup.gemalto.d1
Class PINEntryUI
java.lang.Object
com.thalesgroup.gemalto.d1.PINEntryUI
Class for PIN entry UI used in
D1Task.changePIN(String, SecureEditText, SecureEditText, ChangePINOptions, PINEventListener) operation.- Since:
- 3.3.0
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumEnum class for PIN entry events.static interfaceThe listener interface for PIN events. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract voidsubmit(D1Task.Callback<Void> callback) Validates the inputted PIN in PIN entries and submits the PIN change request.abstract voidwipe()Wipes the sensitive data of the PIN entry UI.
-
Constructor Details
-
PINEntryUI
protected PINEntryUI()Internal constructor.
-
-
Method Details
-
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
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_IND1Exception.ErrorCode.ERROR_NOT_AUTHORIZEDD1Exception.ErrorCode.ERROR_DEVICE_ENVIRONMENT_UNSAFED1Exception.ErrorCode.ERROR_CORED1Exception.ErrorCode.ERROR_CARDD1Exception.ErrorCode.ERROR_CARD_NOT_FOUNDD1Exception.ErrorCode.ERROR_PIN_MISMATCHD1Exception.ErrorCode.ERROR_PIN_INVALIDD1Exception.ErrorCode.ERROR_PIN_CHANGE_FORBIDDEN
- Since:
- 3.3.0
-