Functions

The following functions are available globally.

  • Checks, if the status is on of the OK statuses.

    Declaration

    Objective-C

    _Bool isDetectionStatusOK(SBSDKDocumentDetectionStatus status)

    Swift

    func isDetectionStatusOK(_ status: SBSDKDocumentDetectionStatus) -> Int32

    Parameters

    status

    The status to check.

    Return Value

    True, if the status in one of the OK statuses. False otherwise.

  • The error codes in the SBSDKErrorDomain.

    Declaration

    Objective-C

    int NS_ENUM(NSInteger, SBSDKErrorCode)

    Swift

    func NS_ENUM(_ NSInteger: Int32, _ SBSDKScannerStatus: Int32) -> Int32