Enum Class SDKInitializeErrorCode

java.lang.Object
java.lang.Enum<SDKInitializeErrorCode>
com.gemalto.mfs.mwsdk.sdkconfig.SDKInitializeErrorCode
All Implemented Interfaces:
Serializable, Comparable<SDKInitializeErrorCode>, Constable

public enum SDKInitializeErrorCode extends Enum<SDKInitializeErrorCode>
This enum contains the list of the ErrorCode of SDK initialize.
  • Enum Constant Details

    • 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 all SDKDataController.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 Details

    • values

      public static SDKInitializeErrorCode[] 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

      public static SDKInitializeErrorCode valueOf(String name)
      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 name
      NullPointerException - if the argument is null