Package com.gemalto.mfs.mwsdk.sdkconfig
Enum Class SDKInitializeErrorCode
- All Implemented Interfaces:
Serializable,Comparable<SDKInitializeErrorCode>,Constable
This enum contains the list of the ErrorCode of SDK initialize.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionError returned when Initialize is failed due to ASM component exceptions.Error returned when Initialize is failed due to ASM component exceptions.Error returned when Debug SDK is used in Release App.Error returned when Device is suspicious.Error returned when Initialize is failed due to internal components are not initialized.Error that indicates current version of application does not expect this unsupported previous version during migration scenario This is an unrecoverable error, So recommend the MPA to do a wipe All when this error is reached.Error returned when Initialize is failed due to inaccessible Android key store Recommend MPA to try again and if keep failing , trigger wipe All:SDKDataController.wipeAll(android.content.Context)to be triggeredError return in case the context in null.Error returned when SDK finds existing data is not supported.Error returned when Initialize is failed due to internal components are not initialized.Error returned when Initialize is called eventhough previous initialization is successfulError returned when Initialize is called eventhough previous initialization is still ongingError returned when Initialize is failed due to storage component exceptions. -
Method Summary
Modifier and TypeMethodDescriptiongetCode()static SDKInitializeErrorCodeReturns the enum constant of this class with the specified name.static SDKInitializeErrorCode[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SDK_INITIALIZING_IN_PROGRESS
Error returned when Initialize is called eventhough previous initialization is still onging -
SDK_INITIALIZED
Error returned when Initialize is called eventhough previous initialization is successful -
INTERNAL_COMPONENT_ERROR
Error returned when Initialize is failed due to internal components are not initialized. Recommend MPA to try again and if keep failing , trigger wipe All:SDKDataController.wipeAll(android.content.Context)to be triggered -
STORAGE_COMPONENT_ERROR
Error returned when Initialize is failed due to storage component exceptions. Recommend MPA to try again and if keep failing , trigger wipe All:SDKDataController.wipeAll(android.content.Context)to be triggered -
INVALID_PREVIOUS_VERSION
Error that indicates current version of application does not expect this unsupported previous version during migration scenario This is an unrecoverable error, So recommend the MPA to do a wipe All when this error is reached. Currently this is called when previous version is 3.x, 4.x and 5.0.x for current version 5.2.2 version onwards. Recommend MPA to trigger wipe allSDKDataController.wipeAll(android.content.Context)to be triggered -
SDK_INIT_FAILED
Error returned when Initialize is failed due to internal components are not initialized. Recommend MPA to try again and if keep failing , trigger wipe All:SDKDataController.wipeAll(android.content.Context)to be triggered -
ASM_MIGRATION_ERROR
Error returned when Initialize is failed due to ASM component exceptions. Recommend MPA to try again and if keep failing , trigger wipe All:SDKDataController.wipeAll(android.content.Context)to be triggered -
ASM_INIT_ERROR
Error returned when Initialize is failed due to ASM component exceptions. Recommend MPA to try again and if keep failing , trigger wipe All:SDKDataController.wipeAll(android.content.Context)to be triggered -
KEY_STORE_INACCESSIBLE
Error returned when Initialize is failed due to inaccessible Android key store Recommend MPA to try again and if keep failing , trigger wipe All:SDKDataController.wipeAll(android.content.Context)to be triggered -
NULL_CONTEXT_ERROR
Error return in case the context in null. Recommend MPA to check and retry the API call with proper context, or make sure API is called after context has been set to the SDK.- Since:
- 6.4.3
-
DEVICE_SUSPICIOUS
Error returned when Device is suspicious. This operation cannot continue.- Since:
- 6.5.0
-
DEBUG_SDK_USED
Error returned when Debug SDK is used in Release App. This operation cannot continue.- Since:
- 6.7.0
-
SDK_DATA_VERSION_NOT_SUPPORTED
Error returned when SDK finds existing data is not supported.- Since:
- 6.7.0
-
-
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
-
getCode
-