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 classPINEntryUI.PINEventEnum class for PIN entry events.static interfacePINEntryUI.PINEventListenerThe listener interface for PIN events.
-
Constructor Summary
Constructors Modifier Constructor Description protectedPINEntryUI()Internal constructor.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract 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.
-
-
-
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_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_INVALID
- Since:
- 3.3.0
-
-