akiles-cordova
    Preparing search index...

    Enumeration ErrorCode

    Enum representing various error codes that can occur in the SDK.

    Index

    Enumeration Members

    ALL_COMM_METHODS_FAILED: "ALL_COMM_METHODS_FAILED"

    All communication methods (Internet, Bluetooth) have failed.

    Check the errors reported in onInternetError and onBluetoothError for information on why each method failed.

    BLUETOOTH_DEVICE_NOT_FOUND: "BLUETOOTH_DEVICE_NOT_FOUND"

    The device is not within Bluetooth range, or is turned off.

    BLUETOOTH_DISABLED: "BLUETOOTH_DISABLED"

    The phone has bluetooth turned off, the user should enable it.

    BLUETOOTH_NOT_AVAILABLE: "BLUETOOTH_NOT_AVAILABLE"

    The phone has no bluetooth support.

    BLUETOOTH_PERMISSION_NOT_GRANTED: "BLUETOOTH_PERMISSION_NOT_GRANTED"

    The phone has bluetooth support, but the user hasn't granted permission for it to the app.

    BLUETOOTH_PERMISSION_NOT_GRANTED_PERMANENTLY: "BLUETOOTH_PERMISSION_NOT_GRANTED_PERMANENTLY"

    The user hasn't granted Bluetooth permission to the app permanently. You should show some UI directing the user to the "app info" section to grant it.

    CANCELED: "CANCELED"

    Operation has been canceled.

    INTERNAL: "INTERNAL"

    Something went wrong internally. This should never happen, if you see it you can contact Akiles for help.

    INTERNET_DEVICE_OFFLINE: "INTERNET_DEVICE_OFFLINE"

    Phone has internet access and could reach the Akiles server, but the Akiles server could not reach the device because it's either offline or turned off.

    INTERNET_LOCATION_OUT_OF_RADIUS: "INTERNET_LOCATION_OUT_OF_RADIUS"

    The organization administrator has enabled geolocation check for this device, and the phone's location services indicate it's outside the maximum radius.

    This check only applies to actions via internet, since being able to do actions via Bluetooth already guarantees you're near the device without need for geolocation checking.

    INTERNET_NOT_AVAILABLE: "INTERNET_NOT_AVAILABLE"

    Phone has no internet access.

    INTERNET_NOT_PERMITTED: "INTERNET_NOT_PERMITTED"

    The organization administrator has configured this device so it doesn't accept actions via the internet communication method. Other methods such as Bluetooth, PINs, cards, NFC might work.

    INVALID_PARAM: "INVALID_PARAM"

    Invalid parameter. The message field contains extra information.

    INVALID_SESSION: "INVALID_SESSION"

    The session token is invalid. Possible causes:

    • The session token has an incorrect format.
    • The organization administrator has uninstalled the application.
    • The member has been deleted.
    • The member token has been deleted.
    LOCATION_DISABLED: "LOCATION_DISABLED"

    The phone has location turned off, the user should enable it.

    LOCATION_FAILED: "LOCATION_FAILED"

    The phone failed to acquire a GNSS fix in reasonable time, probably because it has bad coverage (it's indoors, etc).

    LOCATION_NOT_AVAILABLE: "LOCATION_NOT_AVAILABLE"

    The phone has no location support.

    LOCATION_PERMISSION_NOT_GRANTED: "LOCATION_PERMISSION_NOT_GRANTED"

    The phone has location support, but the user hasn't granted permission for it to the app.

    LOCATION_PERMISSION_NOT_GRANTED_PERMANENTLY: "LOCATION_PERMISSION_NOT_GRANTED_PERMANENTLY"

    The user hasn't granted location permission to the app permanently. You should show some UI directing the user to the "app info" section to grant it.

    NFC_CARD_NOT_COMPATIBLE: "NFC_CARD_NOT_COMPATIBLE"

    This NFC card is not compatible with Akiles devices.

    NFC_NOT_AVAILABLE: "NFC_NOT_AVAILABLE"

    This phone has no NFC support.

    NFC_READ_ERROR: "NFC_READ_ERROR"

    NFC read error. The user either moved the card away too soon, or the card is not compatible.

    PERMISSION_DENIED: "PERMISSION_DENIED"

    The current session does not have permission to do the requested action on the device.

    TIMEOUT: "TIMEOUT"

    Operation timed out.