Enum 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.
    • 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.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • 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
      • 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
      • 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 name
        java.lang.NullPointerException - if the argument is null