Enumerations

The following enumerations are available globally.

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

    See more

    Declaration

    Objective-C

    enum STScanState : NSInteger {}

    Swift

    enum STScanState : Int
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSInteger, STCodeContentType) {
        ST_CODE_CONTENT_TYPE_NOT_PROPRIETARY,
        ST_CODE_CONTENT_TYPE_PROPRIETARY_AUTH,
        ST_CODE_CONTENT_TYPE_PROPRIETARY_NO_AUTH,
        ST_CODE_CONTENT_TYPE_PROPRIETARY_UNKNOWN
    }

    Swift

    enum STCodeContentType : Int
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSUInteger, ContentType) {
        ContentTypeThirdParty,
        ContentTypeScantrustID,
        ContentTypeScantrustSecureCode
    }
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSUInteger, Environment) {
        EnvironmentProduction,
        EnvironmentStaging,
        EnvironmentDev,
        EnvironmentTestflight
    }
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSInteger, CameraType) {
        CameraType_NotSpecified         = 0,
        CameraType_WideAngle            = 1,
        CameraType_UltraWideAngle       = 2,
        CameraType_Telephoto            = 3,
    }
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSUInteger, BarcodeType) {
        BarcodeTypeNONE,
        BarcodeTypeAZTEC,
        BarcodeTypeCODABAR,
        BarcodeTypeCODE_39,
        BarcodeTypeCODE_93,
        BarcodeTypeCODE_128,
        BarcodeTypeDATA_MATRIX,
        BarcodeTypeEAN_8,
        BarcodeTypeEAN_13,
        BarcodeTypeITF,
        BarcodeTypeMAXICODE,
        BarcodeTypePDF_417,
        BarcodeTypeQR_CODE,
        BarcodeTypeRSS_14,
        BarcodeTypeRSS_EXPANDED,
        BarcodeTypeUPC_A,
        BarcodeTypeUPC_E,
        BarcodeTypeUPC_EAN_EXTENSION
    }
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSInteger, ActivationStatus) {
        ActivationStatus_Inactive    = 0,
        ActivationStatus_Active      = 1,
        ActivationStatus_Blacklisted = 2
    }
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSInteger, TrainingStatus) {
        TrainingStatus_Untrained  = 0,
        TrainingStatus_InProgress = 1,
        TrainingStatus_Trained    = 2
    }
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_OPTIONS(NSUInteger, QualityState) {
        QualityStateGood         = 0x00,
        QualityStateLowQuality   = 1 << 0,
        QualityStateBlur         = 1 << 1,
        QualityStateGlare        = 1 << 2,
        QualityStateTooSmall     = 1 << 3,
        QualityStateTooBig       = 1 << 4,
        QualityStateSgNotInFrame = 1 << 5
    }

    Swift

    struct QualityState : OptionSet
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSUInteger, ScanEngineStartSessionResponse) {
        ScanEngineStartSessionResponseSessionStared,
        ScanEngineStartSessionResponseSessionRenewed,
        ScanEngineStartSessionResponseSessionAlreadyRunning,
    }

    Swift

    enum ScanEngineStartSessionResponse : UInt
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSUInteger, ScanEngineStopSessionResponse) {
        ScanEngineStopSessionResponseSessionStopped,
        ScanEngineStopSessionResponseNoRunningSession,
    }

    Swift

    enum ScanEngineStopSessionResponse : UInt
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSUInteger, ScanEngineAnalyseImageResponse) {
        ScanEngineAnalyseImageResponseNA,
        ScanEngineAnalyseImageResponseSessionRenewed
    }

    Swift

    enum ScanEngineAnalyseImageResponse : UInt
  • The enum represents the Geo Location methods used to get the current location

    • GeolocationMethodUnknown: an unknown method
    • GeolocationMethodDefault: default method
    • GeolocationMethodIPAddress: Used IP address to get the location
    • GeolocationMethodMobileNetwork: Used mobile network to get the location
    • GeolocationMethodGPS: Used GPS to get the location
    See more

    Declaration

    Objective-C

    enum GeolocationMethod : NSInteger {}

    Swift

    enum GeolocationMethod : Int
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSUInteger, PreviewViewStates) {
        PreviewViewStates_ZoomedOut,
        PreviewViewStates_Zooming,
        PreviewViewStates_ZoomedIn,
        PreviewViewStates_Undefined
    }

    Swift

    enum PreviewViewStates : UInt