SKErrorCode
enum SKErrorCode : NSInteger {}
Error codes that may be reported while operating with scanner
-
Unknown error occurred
Declaration
Objective-C
kSKErrorCodeUnknown = 600
Swift
case unknown = 600
-
Requested operation is failed due to another operation is already started. You should wait until current operation finished or cancel it in order to start another one.
Declaration
Objective-C
kSKErrorCodeAnotherOperationIsAlreadyStarted
Swift
case anotherOperationIsAlreadyStarted = 601
-
Transport specific errors
Declaration
Objective-C
kSKErrorCodeComunicationFailedInternal
Swift
case comunicationFailedInternal = 602
-
Communication with scanner is lost or can’t be established by timeout
Declaration
Objective-C
kSKErrorCodeComunicationFailedTimeout
Swift
case comunicationFailedTimeout = 603
-
There is no internet connection
Declaration
Objective-C
kSKErrorCodeComunicationFailedNoInternetConnection
Swift
case comunicationFailedNoInternetConnection = 604
-
Device required authentication for operating
Declaration
Objective-C
kSKErrorCodeComunicationFailedAuthenticationRequired
Swift
case comunicationFailedAuthenticationRequired = 605
-
Scan ticket validation is failed due to inability to resolve some settings. The list of setting names can be obtained from error’s userInfo by kSKIncorrectSettingNamesKey key.
Declaration
Objective-C
kSKErrorCodeScanTicketValidationUnresolvedSettings
Swift
case scanTicketValidationUnresolvedSettings = 606
-
Scanning can not be performed with conflicted settings
Declaration
Objective-C
kSKErrorCodeScanningFailedConflictedSettings
Swift
case scanningFailedConflictedSettings = 607
-
Scanning is canceled by scanner
Declaration
Objective-C
kSKErrorCodeScanningCanceledByScanner
Swift
case scanningCanceledByScanner = 608
-
Scanning is canceled by client
Declaration
Objective-C
kSKErrorCodeScanningCanceledByClient
Swift
case scanningCanceledByClient = 609
-
Scanning is failed because device is busy
Declaration
Objective-C
kSKErrorCodeScanningFailedScannerIsBusy
Swift
case scanningFailedScannerIsBusy = 610
-
Scanning is failed because scanner is unavailable
Declaration
Objective-C
kSKErrorCodeScanningFailedScannerIsUnavailable
Swift
case scanningFailedScannerIsUnavailable = 611
-
Scanning is failed because no media in ADF input tray
Declaration
Objective-C
kSKErrorCodeScanningFailedADFIsEmpty
Swift
case scanningFailedADFIsEmpty = 612
-
Scanning is failed due to a media is jammed in ADF
Declaration
Objective-C
kSKErrorCodeScanningFailedADFPaperJam
Swift
case scanningFailedADFPaperJam = 613
-
Scanning is failed because ADF mispick occurred
Declaration
Objective-C
kSKErrorCodeScanningFailedADFMispick
Swift
case scanningFailedADFMispick = 614
-
Scanning is failed due to media is too long for ADF duplex scanning
Declaration
Objective-C
kSKErrorCodeScanningFailedADFDuplexPageTooShort
Swift
case scanningFailedADFDuplexPageTooShort = 615
-
Scanning is failed due to media is too short for ADF duplex scanning
Declaration
Objective-C
kSKErrorCodeScanningFailedADFDuplexPageTooLong
Swift
case scanningFailedADFDuplexPageTooLong = 616
-
Scanning is failed because few medias are picked by ADF
Declaration
Objective-C
kSKErrorCodeScanningFailedADFMultiPickDetected
Swift
case scanningFailedADFMultiPickDetected = 617
-
Scanning is failed due to broken ADF input tray
Declaration
Objective-C
kSKErrorCodeScanningFailedADFInputTrayFailed
Swift
case scanningFailedADFInputTrayFailed = 618
-
Scanning is failed because ADF input tray is overloaded
Declaration
Objective-C
kSKErrorCodeScanningFailedADFInputTrayOverLoaded
Swift
case scanningFailedADFInputTrayOverLoaded = 619
-
Scanning is failed because ADF hatch is opened
Declaration
Objective-C
kSKErrorCodeScanningFailedADFHatchOpened
Swift
case scanningFailedADFHatchOpened = 620