Constants

The following constants are available globally.

  • Posted when scan is completed from ScanTrust Processing

    Declaration

    Objective-C

    static NSString *const STScanCompleteNotification =
        @"com.scantrust.enterprise.ios.authenticate.scancompelete"

    Swift

    let STScanCompleteNotification: String
  • Posted when scan fails from ScanTrust Processing

    Declaration

    Objective-C

    static NSString *const STScanFailNotification =
        @"com.scantrust.enterprise.ios.authenticate.scanfail"

    Swift

    let STScanFailNotification: String
  • Posted during the scan from ScanTrust Processing

    Declaration

    Objective-C

    static NSString *const STScanProgressNotification =
        @"com.scantrust.enterprise.ios.authenticate.scanprogress"

    Swift

    let STScanProgressNotification: String
  • Posted when camera zoom level changes from 1x to 4x

    Declaration

    Objective-C

    static NSString *const STCameraZoommingInNotificaiton =
        @"com.scantrust.enterprise.ios.authenticate.zoommingin"

    Swift

    let STCameraZoommingInNotificaiton: String
  • Posted when camera zooom level changes from 4x to 1x

    Declaration

    Objective-C

    static NSString *const STCameraZoommingOutNotification =
        @"com.scantrust.enterprise.ios.authenticate.zoommingout"

    Swift

    let STCameraZoommingOutNotification: String
  • Error Domain for Camera setup failures

    Declaration

    Objective-C

    static NSString *const STCameraErrorDomain =
        @"com.scantrust.enterprise.ios.authenticate.STCameraErrorDomain"

    Swift

    let STCameraErrorDomain: String
  • Declaration

    Objective-C

    static NSString *const kScanProgress = @"scan_progress"

    Swift

    let kScanProgress: String
  • Declaration

    Objective-C

    static NSString *const kScanedQRCode = @"qr_code"

    Swift

    let kScanedQRCode: String
  • Declaration

    Objective-C

    static NSString *const kBlurScore = @"blur_score"

    Swift

    let kBlurScore: String
  • Declaration

    Objective-C

    static NSString *const kZoomLevel = @"zoom_level"

    Swift

    let kZoomLevel: String