Enum SDKDataController
- java.lang.Object
-
- java.lang.Enum<SDKDataController>
-
- com.gemalto.mfs.mwsdk.payment.sdkconfig.SDKDataController
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<SDKDataController>
public enum SDKDataController extends java.lang.Enum<SDKDataController>
This enum contains the public API for wipeAll of the card Details.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INSTANCE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SDKDataController
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SDKDataController[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.void
wipeAll(android.content.Context appContext)
This API performs wipe of All data in HCEMobileWalletSDK.static void
wipeCard(java.lang.String tokenID, android.content.Context appContext)
This API performs deletion of a card with given tokenId
-
-
-
Enum Constant Detail
-
INSTANCE
public static final SDKDataController INSTANCE
-
-
Method Detail
-
values
public static SDKDataController[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SDKDataController c : SDKDataController.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SDKDataController valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
wipeAll
public void wipeAll(android.content.Context appContext) throws InternalComponentException
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(java.lang.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
-
-