Enum Class SDKDataController
- All Implemented Interfaces:
Serializable,Comparable<SDKDataController>,Constable
This enum contains the public API for wipeAll of the card Details.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic SDKDataControllerReturns the enum constant of this class with the specified name.static SDKDataController[]values()Returns an array containing the constants of this enum class, in the order they are declared.voidwipeAll(android.content.Context appContext) This API performs wipe of All data in HCEMobileWalletSDK.static voidThis API performs deletion of a card with given tokenId
-
Enum Constant Details
-
INSTANCE
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
wipeAll
This API performs wipe of All data in HCEMobileWalletSDK. MPA SHALL NOT concurrently call any other TSHPaySDK APIs before thiswipeAll()completes.- Parameters:
appContext- Application Context required to delete files, sharedPreferences etc.- Throws:
InternalComponentException
-
wipeCard
public static void wipeCard(String tokenID, android.content.Context appContext) throws InternalComponentException This API performs deletion of a card with given tokenId- Parameters:
tokenID- tokenIdappContext- Application Context- Throws:
InternalComponentException
-