ALErrorCode Constants Reference

Declared in ALError.h

ALErrorCode

The Error Domain used by the Anyline SDK

Definition

typedef NS_ENUM(NSInteger, ALErrorCode ) {
   ALTypeError = 2002,
   ALParameterInvalid = 2003,
   ALLicenseKeyInvalid = 3001,
   ALLicenseNotValidForFunction = 3002,
   ALWatermarkImageNotFound = 3003,
   ALWatermarkNotOnWindow = 3004,
   ALWatermarkNotCorrectInViewHierarchy = 3005,
   ALWatermarkHidden = 3006,
   ALWatermarkOutsideApplicationFrame = 3007,
   ALWatermarkNotNearCutout = 3008,
   ALWatermarkViewBoundsOutOfSnyc = 3009,
   ALWatermarkViewTooSmall = 3010,
   ALWatermarkViewNoSubviewsAllowed = 3011,
   ALWatermarkViewAlphaViolation = 3012,
   ALWatermarkViewCountViolation = 3013,
   ALWatermarkViewSubviewOnTopViolation = 3014,
   ALWatermarkImageModified = 3015,
   ALLicenseNotValidForFeature = 3018,
   ALLicenseNotYetInitialized = 3019,
   ALCameraResolutionNotSupportedByDevice = 8001,
   ALCameraAccessDenied = 8002,
   ALFlashNotAvailable = 8003,
   ALCameraNativeBarcodeEnabledTooEarly = 8006,
   ALCameraNativeBarcodeUnsupportedFormat = 8007,
   ALNFCTagErrorResponseError = 10001,
   ALNFCTagErrorInvalidResponse = 10002,
   ALNFCTagErrorUnexpectedError = 10003,
   ALNFCTagErrorNFCNotSupported = 10004,
   ALNFCTagErrorNoConnectedTag = 10005,
   ALNFCTagErrorD087Malformed = 10006,
   ALNFCTagErrorInvalidResponseChecksum = 10007,
   ALNFCTagErrorMissingMandatoryFields = 10008,
   ALNFCTagErrorCannotDecodeASN1Length = 10009,
   ALNFCTagErrorInvalidASN1Value = 10010,
   ALNFCTagErrorUnableToProtectAPDU = 10011,
   ALNFCTagErrorUnableToUnprotectAPDU = 10012,
   ALNFCTagErrorUnsupportedDataGroup = 10013,
   ALNFCTagErrorDataGroupNotRead = 10014,
   ALNFCTagErrorUnknownTag = 10015,
   ALNFCTagErrorUnknownImageFormat = 10016,
   ALNFCTagErrorNotImplemented = 10017,
   ALTimeoutError = 11001,
   ALJSONError = 12001,
   ALFileSystemError = 13001,
   ALCacheErrorNoLogsFound = 14001,
   ALCacheErrorZipCreationFailed = 14002,
   ALUIFeedbackJSONError = 15001,
};

Constants

ALTypeError

An error indicating that the type / object created is internally inconsistent

Declared In ALError.h.

ALParameterInvalid

An invalid parameter was passed to a method

Declared In ALError.h.

ALLicenseKeyInvalid

The license key supplied to Anyline during initialization was not valid

Declared In ALError.h.

ALLicenseNotValidForFunction

The license key supplied was not valid for the function being used

Declared In ALError.h.

ALWatermarkImageNotFound

The image used to display the watermark is not found

Declared In ALError.h.

ALWatermarkNotOnWindow

Watermark not on window

Declared In ALError.h.

ALWatermarkNotCorrectInViewHierarchy

Watermark not installed correctly in the view hierarchy

Declared In ALError.h.

ALWatermarkHidden

Watermark was hidden

Declared In ALError.h.

ALWatermarkOutsideApplicationFrame

Watermark was positioned outside the application frame

Declared In ALError.h.

ALWatermarkNotNearCutout

Watermark is placed too far from the cutout

Declared In ALError.h.

ALWatermarkViewBoundsOutOfSnyc

Watermark view bounds is out of sync

Declared In ALError.h.

ALWatermarkViewTooSmall

Watermark view is too small

Declared In ALError.h.

ALWatermarkViewNoSubviewsAllowed

Watermark view has subviews

Declared In ALError.h.

ALWatermarkViewAlphaViolation

Watermark has modified alpha value

Declared In ALError.h.

ALWatermarkViewCountViolation

Watermark view count violation

Declared In ALError.h.

ALWatermarkViewSubviewOnTopViolation

Watermark view has subviews on top

Declared In ALError.h.

ALWatermarkImageModified

Watermark image had been modified

Declared In ALError.h.

ALLicenseNotValidForFeature

The license key supplied is not valid for the Anyline feature being used

Declared In ALError.h.

ALLicenseNotYetInitialized

Using an Anyline feature before having initialized the license successfully

Declared In ALError.h.

ALCameraResolutionNotSupportedByDevice

The requested camera resolution was not supported by the device

Declared In ALError.h.

ALCameraAccessDenied

User denied camera usage access when prompted

Declared In ALError.h.

ALFlashNotAvailable

Flash not supported by device

Declared In ALError.h.

ALCameraNativeBarcodeEnabledTooEarly

Camera native barcode was enabled too early (try initializing it when the scan view is running)

Declared In ALError.h.

ALCameraNativeBarcodeUnsupportedFormat

Unsupported format requested while using native barcode reader

Declared In ALError.h.

ALNFCTagErrorResponseError

Error on the NFC tag reader response

Declared In ALError.h.

ALNFCTagErrorInvalidResponse

Invalid response received from the NFC Tag Reading session

Declared In ALError.h.

ALNFCTagErrorUnexpectedError

Unexpected error using the NFC tag reader

Declared In ALError.h.

ALNFCTagErrorNFCNotSupported

Device does not support NFC tag reading

Declared In ALError.h.

ALNFCTagErrorNoConnectedTag

Unable to initialize tag reader for NFC connection

Declared In ALError.h.

ALNFCTagErrorD087Malformed

NFC: D087 is malformed

Declared In ALError.h.

ALNFCTagErrorInvalidResponseChecksum

NFC: Invalid checksum

Declared In ALError.h.

ALNFCTagErrorMissingMandatoryFields

NFC: Missing mandatory fields

Declared In ALError.h.

ALNFCTagErrorCannotDecodeASN1Length

NFC: Cannot decode ASN1 length

Declared In ALError.h.

ALNFCTagErrorInvalidASN1Value

NFC: ASN1 value is invalid

Declared In ALError.h.

ALNFCTagErrorUnableToProtectAPDU

NFC: unable to protect APDU

Declared In ALError.h.

ALNFCTagErrorUnableToUnprotectAPDU

NFC: unable to unprotect APDU

Declared In ALError.h.

ALNFCTagErrorUnsupportedDataGroup

NFC: unsupported data group

Declared In ALError.h.

ALNFCTagErrorDataGroupNotRead

NFC: data group not read

Declared In ALError.h.

ALNFCTagErrorUnknownTag

NFC tag not recognized

Declared In ALError.h.

ALNFCTagErrorUnknownImageFormat

NFC: the image format being read is unknown

Declared In ALError.h.

ALNFCTagErrorNotImplemented

NFC: Not implemented error

Declared In ALError.h.

ALTimeoutError

Timeout encountered while waiting for a time consuming operation

Declared In ALError.h.

ALJSONError

Error serializing or deserializing JSON object

Declared In ALError.h.

ALFileSystemError

Filesystem error

Declared In ALError.h.

ALCacheErrorNoLogsFound

Cache error: no logs available

Declared In ALError.h.

ALCacheErrorZipCreationFailed

Cache error: unable to create the zip archive

Declared In ALError.h.

ALUIFeedbackJSONError

UIFeedback: JSON parsing error

Declared In ALError.h.

Declared In

ALError.h