STScanState

Objective-C

enum STScanState : NSInteger {}

Swift

enum STScanState : Int

The enum represent scan progress on real time from ScanTrust frame processing.

  • < Reading the QR code

    Declaration

    Objective-C

    STScanStateUnreadable

    Swift

    case unreadable = 0
  • < QR code read and processing

    Declaration

    Objective-C

    STScanStateOk

    Swift

    case ok = 1
  • < QR code is small and not big enough

    Declaration

    Objective-C

    STScanStateTooSmall

    Swift

    case tooSmall = 2
  • < QR code is more then big enough

    Declaration

    Objective-C

    STScanStateTooBig

    Swift

    case tooBig = 3
  • < QR code is blurry

    Declaration

    Objective-C

    STScanStateBlurry

    Swift

    case blurry = 4
  • < QR code is not a ScanTrust Code

    Declaration

    Objective-C

    STScanStateNotProprietary

    Swift

    case notProprietary = 5
  • < Secure fingerprint is out side of the frame

    Declaration

    Objective-C

    STScanStateFPNotInFrame

    Swift

    case fpNotInFrame = 6
  • < No Auth code being detected

    Declaration

    Objective-C

    STScanStateNoAuth

    Swift

    case noAuth = 7
  • < Scan is taking too long enable power saving mode

    Declaration

    Objective-C

    STScanStatePowerSaving

    Swift

    case powerSaving = 8
  • < QR code is not in center of the frame

    Declaration

    Objective-C

    STScanStateQRCodeNotInCenter

    Swift

    case qrCodeNotInCenter = 9
  • < Glare has been detected and no QR code found

    Declaration

    Objective-C

    STScanStateGlareDetected

    Swift

    case glareDetected = 10
  • < ScanTimedOut

    Declaration

    Objective-C

    STScanStateScanTimeOut

    Swift

    case scanTimeOut = 11