Package com.gemalto.mfs.mwsdk.sdkconfig
Enum SDKInitializeErrorCode
- java.lang.Object
-
- java.lang.Enum<SDKInitializeErrorCode>
-
- com.gemalto.mfs.mwsdk.sdkconfig.SDKInitializeErrorCode
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<SDKInitializeErrorCode>
public enum SDKInitializeErrorCode extends java.lang.Enum<SDKInitializeErrorCode>
This enum contains the list of the ErrorCode of SDK initialize.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ASM_INIT_ERROR
Error returned when Initialize is failed due to ASM component exceptions.ASM_MIGRATION_ERROR
Error returned when Initialize is failed due to ASM component exceptions.DEBUG_SDK_USED
Error returned when Debug SDK is used in Release App.DEVICE_SUSPICIOUS
Error returned when Device is suspicious.INTERNAL_COMPONENT_ERROR
Error returned when Initialize is failed due to internal components are not initialized.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.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 triggeredNULL_CONTEXT_ERROR
Error return in case the context in null.SDK_DATA_VERSION_NOT_SUPPORTED
Error returned when SDK finds existing data is not supported.SDK_INIT_FAILED
Error returned when Initialize is failed due to internal components are not initialized.SDK_INITIALIZED
Error returned when Initialize is called eventhough previous initialization is successfulSDK_INITIALIZING_IN_PROGRESS
Error returned when Initialize is called eventhough previous initialization is still ongingSTORAGE_COMPONENT_ERROR
Error returned when Initialize is failed due to storage component exceptions.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SDKInitializeErrorCode
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SDKInitializeErrorCode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SDK_INITIALIZING_IN_PROGRESS
public static final SDKInitializeErrorCode SDK_INITIALIZING_IN_PROGRESS
Error returned when Initialize is called eventhough previous initialization is still onging
-
SDK_INITIALIZED
public static final SDKInitializeErrorCode SDK_INITIALIZED
Error returned when Initialize is called eventhough previous initialization is successful
-
INTERNAL_COMPONENT_ERROR
public static final SDKInitializeErrorCode 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
public static final SDKInitializeErrorCode 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
public static final SDKInitializeErrorCode 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
public static final SDKInitializeErrorCode 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
public static final SDKInitializeErrorCode 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
public static final SDKInitializeErrorCode 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
public static final SDKInitializeErrorCode 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
public static final SDKInitializeErrorCode 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
public static final SDKInitializeErrorCode DEVICE_SUSPICIOUS
Error returned when Device is suspicious. This operation cannot continue.- Since:
- 6.5.0
-
DEBUG_SDK_USED
public static final SDKInitializeErrorCode 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
public static final SDKInitializeErrorCode SDK_DATA_VERSION_NOT_SUPPORTED
Error returned when SDK finds existing data is not supported.- Since:
- 6.7.0
-
-
Method Detail
-
values
public static SDKInitializeErrorCode[] 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 (SDKInitializeErrorCode c : SDKInitializeErrorCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SDKInitializeErrorCode 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
-
-