Class MeaErrorCode


  • public class MeaErrorCode
    extends java.lang.Object
    Error codes.
    • Field Detail

      • NOT_INITIALIZED

        public static final int NOT_INITIALIZED
        Library is not initialized (101).
        See Also:
        Constant Field Values
      • OS_VERSION_NOT_SUPPORTED

        public static final int OS_VERSION_NOT_SUPPORTED
        Android versions below 4.4 (KitKat) is not supported (102).
        See Also:
        Constant Field Values
      • NOT_REGISTERED

        public static final int NOT_REGISTERED
        App instance not registered (103). Invoke register() first.
        See Also:
        Constant Field Values
      • NFC_NOT_AVAILABLE

        public static final int NFC_NOT_AVAILABLE
        NFC feature is not available (104). NFC not enabled in device settings or device don't have android.hardware.nfc feature.
        See Also:
        Constant Field Values
      • HCE_NOT_AVAILABLE

        public static final int HCE_NOT_AVAILABLE
        HCE feature is not available (105). Android have no android.hardware.nfc.hce feature.
        See Also:
        Constant Field Values
      • DEBUGGER_ATTACHED

        public static final int DEBUGGER_ATTACHED
        Debugger is attached (106). Debugger usage is not allowed.
        See Also:
        Constant Field Values
      • ABI_NOT_SUPPORTED

        public static final int ABI_NOT_SUPPORTED
        Processor type is not supported (107). Your device processor architecture is not ARM-based.
        See Also:
        Constant Field Values
      • NO_NETWORK_CONNECTION

        public static final int NO_NETWORK_CONNECTION
        No network connection (109).
        See Also:
        Constant Field Values
      • APPLICATION_NOT_DEFAULT_FOR_CONTACTLESS

        public static final int APPLICATION_NOT_DEFAULT_FOR_CONTACTLESS
        Application HCE service is not set as the tap and pay default in the android settings (110).
        See Also:
        Constant Field Values
      • GOOGLE_PLAY_SERVICES_NOT_AVAILABLE

        public static final int GOOGLE_PLAY_SERVICES_NOT_AVAILABLE
        Google Play Services is not available (111).
        See Also:
        Constant Field Values
      • SDK_DEBUG_IN_APP_RELEASE_NOT_ALLOWED

        public static final int SDK_DEBUG_IN_APP_RELEASE_NOT_ALLOWED
        Sdk debug build is used in application release build (112).
        See Also:
        Constant Field Values
      • SDK_DEPRECATED

        public static final int SDK_DEPRECATED
        SDK version is deprecated, upgrade required (113).
        See Also:
        Constant Field Values
      • APP_UNREGISTERED

        public static final int APP_UNREGISTERED
        App instance is unregistered (114).
        See Also:
        Constant Field Values
      • HUAWEI_MOBILE_SERVICES_NOT_AVAILABLE

        public static final int HUAWEI_MOBILE_SERVICES_NOT_AVAILABLE
        Huawei Mobile Services is not available (115).
        See Also:
        Constant Field Values
      • GENERIC_NETWORK_PROBLEM

        public static final int GENERIC_NETWORK_PROBLEM
        Generic network problem occurred (201).
        See Also:
        Constant Field Values
      • NETWORK_TIMEOUT

        public static final int NETWORK_TIMEOUT
        Network connection timeout error (202).
        See Also:
        Constant Field Values
      • UNKNOWN_HOST

        public static final int UNKNOWN_HOST
        Host not found (204).
        See Also:
        Constant Field Values
      • SSL_HANDSHAKE_FAILED

        public static final int SSL_HANDSHAKE_FAILED
        SSL handshake have failed (207).
        See Also:
        Constant Field Values
      • ANOTHER_REQUEST_ALREADY_IN_PROCESS

        public static final int ANOTHER_REQUEST_ALREADY_IN_PROCESS
        Another request is already in process (209).
        See Also:
        Constant Field Values
      • CRYPTO_ERROR

        public static final int CRYPTO_ERROR
        Crypto operation failed (301).
        See Also:
        Constant Field Values
      • STORAGE_OPERATION_FAILED

        public static final int STORAGE_OPERATION_FAILED
        Operation with secure encrypted storage have failed (302).
        See Also:
        Constant Field Values
      • STORAGE_CORRUPTED_ATTACK_DETECTED

        public static final int STORAGE_CORRUPTED_ATTACK_DETECTED
        Secure encrypted storage is corrupted and can't be decrypted (303). Secure encrypted storage was deleted.
        See Also:
        Constant Field Values
      • STORAGE_MIGRATION_FAILED

        public static final int STORAGE_MIGRATION_FAILED
        Failed to migrate storage (304).
        See Also:
        Constant Field Values
      • FINGERPRINT_CHANGED

        public static final int FINGERPRINT_CHANGED
        Device fingerprint does not match (306).
        See Also:
        Constant Field Values
      • INTERNAL_ERROR

        public static final int INTERNAL_ERROR
        Internal library error (501).
        See Also:
        Constant Field Values
      • VERSION_ROLLBACK

        public static final int VERSION_ROLLBACK
        Library version rollback (503). Usage of later library versions is not allowed.
        See Also:
        Constant Field Values
      • ALREADY_REGISTERED

        public static final int ALREADY_REGISTERED
        App instance is already registered (504).
        See Also:
        Constant Field Values
      • INCORRECT_INPUT_DATA

        public static final int INCORRECT_INPUT_DATA
        Some input data is incorrect (505).
        See Also:
        Constant Field Values
      • REMOTE_DATA_ERROR

        public static final int REMOTE_DATA_ERROR
        Incorrect or empty remote data (507).
        See Also:
        Constant Field Values
      • INTERNAL_SERVER_ERROR

        public static final int INTERNAL_SERVER_ERROR
        Issue on the server side (508).
        See Also:
        Constant Field Values
      • DATA_VALIDATION_ERROR

        public static final int DATA_VALIDATION_ERROR
        Data validation error received from Wallet Service Provider (601).
        See Also:
        Constant Field Values
      • DATA_PROCESSING_ERROR

        public static final int DATA_PROCESSING_ERROR
        Data processing error received from Wallet Service Provider (602).
        See Also:
        Constant Field Values
      • DEVICE_NOT_ELIGIBLE

        public static final int DEVICE_NOT_ELIGIBLE
        Device is not eligible (603).
        See Also:
        Constant Field Values
      • CARD_NOT_ELIGIBLE

        public static final int CARD_NOT_ELIGIBLE
        Card is not eligible (604).
        See Also:
        Constant Field Values
      • CARD_DIGITIZATION_DECLINED

        public static final int CARD_DIGITIZATION_DECLINED
        Card digitization declined by Wallet Service Provider (605).
        See Also:
        Constant Field Values
      • CARD_AUTHENTICATION_CODE_INCORRECT

        public static final int CARD_AUTHENTICATION_CODE_INCORRECT
        Authentication Code was incorrect and rejected, retries permitted (606).
        See Also:
        Constant Field Values
      • CARD_AUTHENTICATION_RETRIES_EXCEEDED

        public static final int CARD_AUTHENTICATION_RETRIES_EXCEEDED
        Authentication Code was incorrect and the maximum number of retries now exceeded (607).
        See Also:
        Constant Field Values
      • CARD_AUTHENTICATION_CODE_EXPIRED

        public static final int CARD_AUTHENTICATION_CODE_EXPIRED
        Authentication Code has expired or was invalidated (608).
        See Also:
        Constant Field Values
      • CARD_AUTHENTICATION_SESSION_EXPIRED

        public static final int CARD_AUTHENTICATION_SESSION_EXPIRED
        The card cannot be activated because the digitization session has expired (609). The caller must delete any artifacts relating to the card and restart the process from the beginning.
        See Also:
        Constant Field Values
      • AUTHORIZATION_FAILED

        public static final int AUTHORIZATION_FAILED
        Failed to authorize request which require authentication (610).
        See Also:
        Constant Field Values
      • INCORRECT_MOBILE_PIN

        public static final int INCORRECT_MOBILE_PIN
        Change PIN request contained incorrect current PIN (611).
        See Also:
        Constant Field Values
      • INVALID_OPERATION

        public static final int INVALID_OPERATION
        The operation requested is invalid (612).
        See Also:
        Constant Field Values
      • CARD_ELIGIBILITY_RECEIPT_EXPIRED

        public static final int CARD_ELIGIBILITY_RECEIPT_EXPIRED
        Eligibility Receipt has expired or was invalidated (613).
        See Also:
        Constant Field Values
      • VISA_DEVICE_KEYS_MISSING

        public static final int VISA_DEVICE_KEYS_MISSING
        Visa device key missing (614). Invoke MeaTokenPlatform.updateDeviceInfo() to exchange device keys with WSP.
        See Also:
        Constant Field Values
      • CARD_VELOCITY_CHECK_REACHED

        public static final int CARD_VELOCITY_CHECK_REACHED
        Card digitization velocity check reached (615). Provisioning request declined after a high frequency of incorrect data entries.
        See Also:
        Constant Field Values
      • DEVICE_DOES_NOT_SUPPORT_ISSUER_CD_CVM_SETTINGS

        public static final int DEVICE_DOES_NOT_SUPPORT_ISSUER_CD_CVM_SETTINGS
        Device does not support issuer CD CVM configuration settings.
        See Also:
        Constant Field Values
      • DEVICE_UNLOCK_NOT_ENABLED

        public static final int DEVICE_UNLOCK_NOT_ENABLED
        Secure device unlock not enabled by user in device settings (902).
        See Also:
        Constant Field Values
      • FINGERPRINT_NOT_SET

        public static final int FINGERPRINT_NOT_SET
        Fingerprint not set-up by user in device settings (903).
        See Also:
        Constant Field Values
      • CARDHOLDER_AUTHENTICATION_NOT_REQUIRED

        public static final int CARDHOLDER_AUTHENTICATION_NOT_REQUIRED
        Cardholder authentication is not required (904).
        See Also:
        Constant Field Values
      • WRONG_CVM_TYPE

        public static final int WRONG_CVM_TYPE
        Wrong CVM type (905).
        See Also:
        Constant Field Values
      • CARDHOLDER_AUTHENTICATION_FAILED

        public static final int CARDHOLDER_AUTHENTICATION_FAILED
        Cardholder authentication for transaction failed (906).
        See Also:
        Constant Field Values
      • CARDHOLDER_AUTHENTICATION_CANCELLED

        public static final int CARDHOLDER_AUTHENTICATION_CANCELLED
        Cardholder authentication cancelled (908).
        See Also:
        Constant Field Values
      • DEVICE_UNLOCK_KEY_INVALIDATED

        public static final int DEVICE_UNLOCK_KEY_INVALIDATED
        Secure device unlock key can no longer be used because it has been permanently invalidated (909). Either the secure lock screen is disabled, forcibly reset or a new fingerprint is enrolled or once no more fingerprints are enrolled.
        See Also:
        Constant Field Values
      • DEVICE_SCREEN_IS_SWITCHED_OFF

        public static final int DEVICE_SCREEN_IS_SWITCHED_OFF
        Device screen is switched off (910).
        See Also:
        Constant Field Values
      • WALLET_PIN_NOT_SET

        public static final int WALLET_PIN_NOT_SET
        Wallet PIN is not set.
        See Also:
        Constant Field Values
      • CARD_NOT_PROVISIONED

        public static final int CARD_NOT_PROVISIONED
        Card is not provisioned (1001).
        See Also:
        Constant Field Values
      • CARD_NOT_ACTIVATED

        public static final int CARD_NOT_ACTIVATED
        Card is not activated (1002).
        See Also:
        Constant Field Values
      • CARD_SUSPENDED

        public static final int CARD_SUSPENDED
        Card is suspended (1003).
        See Also:
        Constant Field Values
      • CARD_MARKED_FOR_DELETION

        public static final int CARD_MARKED_FOR_DELETION
        Card is marked for deletion (1004).
        See Also:
        Constant Field Values
      • CARD_NO_PAYMENT_TOKENS

        public static final int CARD_NO_PAYMENT_TOKENS
        This card doesn't have any payments tokens remaining (1005).
        See Also:
        Constant Field Values
      • CARD_PROVISION_FAILED

        public static final int CARD_PROVISION_FAILED
        Card provision failed (1007).
        See Also:
        Constant Field Values
      • CARD_NOT_SUPPORT_CONTACTLESS_PAYMENTS

        public static final int CARD_NOT_SUPPORT_CONTACTLESS_PAYMENTS
        Contactless payments is not supported (1008).
        See Also:
        Constant Field Values
      • CARD_NOT_SUPPORT_REMOTE_PAYMENTS

        public static final int CARD_NOT_SUPPORT_REMOTE_PAYMENTS
        Remote payments (DSRP) are not supported (1009).
        See Also:
        Constant Field Values
      • CARD_NOT_FOUND

        public static final int CARD_NOT_FOUND
        Card not found (1010).
        See Also:
        Constant Field Values
      • CARD_DELETION_FAILED

        public static final int CARD_DELETION_FAILED
        Card deletion failed (1011).
        See Also:
        Constant Field Values
      • CARD_PIN_NOT_SET

        public static final int CARD_PIN_NOT_SET
        Card PIN is not set (1012).
        See Also:
        Constant Field Values
      • CARD_ALREADY_DIGITIZED

        public static final int CARD_ALREADY_DIGITIZED
        Card already digitized (1013).
        See Also:
        Constant Field Values
      • CARD_NOT_DIGITIZED

        public static final int CARD_NOT_DIGITIZED
        Card not digitized (1014).
        See Also:
        Constant Field Values
      • CARD_DIGITIZATION_AUTHENTICATION_NOT_COMPLETED

        public static final int CARD_DIGITIZATION_AUTHENTICATION_NOT_COMPLETED
        Card digitization additional authenticated not completed (1015).
        See Also:
        Constant Field Values
      • CARD_DEACTIVATED

        public static final int CARD_DEACTIVATED
        Card permanently deactivated (1016).
        See Also:
        Constant Field Values
      • TRANSACTION_ABORTED

        public static final int TRANSACTION_ABORTED
        Transaction has been aborted (1101).
        See Also:
        Constant Field Values
      • TRANSACTION_WALLET_CANCEL_REQUEST

        public static final int TRANSACTION_WALLET_CANCEL_REQUEST
        Transaction aborted, because wallet requested to cancel request (1102).
        See Also:
        Constant Field Values
      • TRANSACTION_CARD_ERROR

        public static final int TRANSACTION_CARD_ERROR
        Transaction aborted, because of card error (1103).
        See Also:
        Constant Field Values
      • TRANSACTION_TERMINAL_ERROR

        public static final int TRANSACTION_TERMINAL_ERROR
        Transaction aborted, because of terminal error (1104).
        See Also:
        Constant Field Values
      • TRANSACTION_FAILED

        public static final int TRANSACTION_FAILED
        Transaction failed (1105).
        See Also:
        Constant Field Values
      • TRANSACTION_AUTHENTICATE_OFFLINE

        public static final int TRANSACTION_AUTHENTICATE_OFFLINE
        The transaction cannot be completed as terminal does not want to perform online authorisation (1106).
        See Also:
        Constant Field Values
      • TRANSACTION_DECLINED_BY_TERMINAL

        public static final int TRANSACTION_DECLINED_BY_TERMINAL
        Terminal declined transaction (1107).
        See Also:
        Constant Field Values
      • TRANSACTION_DECLINED_BY_CARD

        public static final int TRANSACTION_DECLINED_BY_CARD
        The rules in the card profile indicate that the transaction should be declined (1108).
        See Also:
        Constant Field Values
      • TRANSACTION_DECLINED_LIMIT_EXCEEDED

        public static final int TRANSACTION_DECLINED_LIMIT_EXCEEDED
        Transaction declined, because currency transaction limit is exceeded (1110).
        See Also:
        Constant Field Values
      • DEVICE_IS_LOCKED_WITH_LOCK_SCREEN

        public static final int DEVICE_IS_LOCKED_WITH_LOCK_SCREEN
        Device is locked with lock screen (1109).
        See Also:
        Constant Field Values
      • TRANSACTION_MAGSTRIPE_TERMINAL_V2_ERROR

        public static final int TRANSACTION_MAGSTRIPE_TERMINAL_V2_ERROR
        Transaction declined because terminal version is V2 and Transaction type is Magstripe (1111).
        See Also:
        Constant Field Values
      • TRANSACTION_CARD_NOT_SELECTED

        public static final int TRANSACTION_CARD_NOT_SELECTED
        Transaction failed, because neither default card is set nor any card is set as selected card for contactless transaction (1112).
        See Also:
        Constant Field Values
      • TRANSACTION_CONTEXT_NOT_MATCHING

        public static final int TRANSACTION_CONTEXT_NOT_MATCHING
        Context mismatch between first and second tap (1113). Indicate either transaction amount or transaction currency is changed at the terminal during 2nd tap.
        See Also:
        Constant Field Values
      • TRANSACTION_CONDITIONS_NOT_ALLOWED

        public static final int TRANSACTION_CONDITIONS_NOT_ALLOWED
        The transaction conditions set by the issuer in profile does not allow this transaction (1114).
        See Also:
        Constant Field Values
      • TRANSACTION_UNSUPPORTED_TRANSIT

        public static final int TRANSACTION_UNSUPPORTED_TRANSIT
        The card being used for the transit transaction does not support it (1115).
        See Also:
        Constant Field Values
      • TRANSACTION_INSUFFICIENT_POI_AUTHENTICATION

        public static final int TRANSACTION_INSUFFICIENT_POI_AUTHENTICATION
        The rules in the card profile indicate that the transaction should be declined (1116).
        See Also:
        Constant Field Values
      • TRANSACTION_MANAGER_BUSY

        public static final int TRANSACTION_MANAGER_BUSY
        Transaction failed, because transaction manager is busy (1117).
        See Also:
        Constant Field Values
      • TRANSACTION_COMMAND_INCOMPATIBLE

        public static final int TRANSACTION_COMMAND_INCOMPATIBLE
        Transaction failed, because command is incompatible (1119).
        See Also:
        Constant Field Values
      • ROOTED_DEVICE_CLOAK_APPS

        public static final int ROOTED_DEVICE_CLOAK_APPS
        (2004)
        See Also:
        Constant Field Values
      • ROOTED_DEVICE_DANG_APPS

        public static final int ROOTED_DEVICE_DANG_APPS
        (2005)
        See Also:
        Constant Field Values
      • ROOTED_DEVICE_MGM_APPS

        public static final int ROOTED_DEVICE_MGM_APPS
        (2006)
        See Also:
        Constant Field Values
      • ROOTED_DEVICE_DANG_PROPS

        public static final int ROOTED_DEVICE_DANG_PROPS
        (2008)
        See Also:
        Constant Field Values
      • ROOTED_DEVICE_TEST_KEYS

        public static final int ROOTED_DEVICE_TEST_KEYS
        (2009)
        See Also:
        Constant Field Values
      • ROOTED_DEVICE_ALCATEL

        public static final int ROOTED_DEVICE_ALCATEL
        (2010)
        See Also:
        Constant Field Values
      • ROOTED_DEVICE_MEMORY

        public static final int ROOTED_DEVICE_MEMORY
        (2011)
        See Also:
        Constant Field Values
      • ROOTED_DEVICE_STRINGS

        public static final int ROOTED_DEVICE_STRINGS
        (2013)
        See Also:
        Constant Field Values
      • ROOTED_DEVICE_FILES

        public static final int ROOTED_DEVICE_FILES
        (2014)
        See Also:
        Constant Field Values
    • Constructor Detail

      • MeaErrorCode

        public MeaErrorCode()
    • Method Detail

      • getDescription

        public static java.lang.String getDescription​(int errorCode)
        Get error code description.
        Parameters:
        errorCode - Error code integer value
        Returns:
        Error code description as string.
      • getName

        @NonNull
        public static java.lang.String getName​(int errorCode)
        Get error code name
        Parameters:
        errorCode - Error code integer value
        Returns:
        Error code name as string
      • getAsArray

        public static java.util.List<java.lang.Integer> getAsArray()
        Get all error codes as SparseArray
        Returns:
        All error codes
      • isErrorCode

        public static boolean isErrorCode​(int errorCode)