Enumerations

The following enumerations are available globally.

  • @enum VisionBarcodeValueType This enum specifies a barcode’s value format. For example, TEXT, PRODUCT, URL, etc.

    Declaration

    Swift

    enum VisionBarcodeValueType : Int
  • @enum VisionBarcodeAddressType This enum specifies address type.

    Declaration

    Swift

    enum VisionBarcodeAddressType : Int
  • @enum VisionBarcodeEmailType This enum specifies the email type for VisionBarcodeEmail.

    Declaration

    Swift

    enum VisionBarcodeEmailType : Int
  • @enum VisionBarcodePhoneType This enum specifies the phone type for VisionBarcodePhone.

    Declaration

    Swift

    enum VisionBarcodePhoneType : Int
  • @enum VisionBarcodeWiFiEncryptionType This enum specifies the Wi-Fi encryption type for VisionBarcodeWiFi.

    Declaration

    Swift

    enum VisionBarcodeWiFiEncryptionType : Int
  • @options VisionBarcodeFormat This option specifies the barcode formats that the library should detect.

    Declaration

    Swift

    struct VisionBarcodeFormat : OptionSet
  • @enum VisionCloudModelType This enum specifies the type of model to use in vision cloud detection API.

    Declaration

    Swift

    enum VisionCloudModelType : UInt
  • @enum VisionCloudTextModelType An enum of model types for cloud text recognition.

    Declaration

    Swift

    enum VisionCloudTextModelType : UInt
  • @enum VisionDocumentTextBlockType An enum of document text block types.

    Declaration

    Swift

    enum VisionDocumentTextBlockType : Int
  • @enum VisionFaceDetectorClassificationMode Classification mode for face detection.

    Declaration

    Swift

    enum VisionFaceDetectorClassificationMode : UInt
  • @enum VisionFaceDetectorPerformanceMode Performance preference for accuracy or speed of face detection.

    Declaration

    Swift

    enum VisionFaceDetectorPerformanceMode : UInt
  • @enum VisionFaceDetectorLandmarkMode Landmark detection mode for face detection.

    Declaration

    Swift

    enum VisionFaceDetectorLandmarkMode : UInt
  • @enum VisionFaceDetectorContourMode Contour detection mode for face detection.

    Declaration

    Swift

    enum VisionFaceDetectorContourMode : UInt
  • @enum VisionDetectorImageOrientation This enum specifies where the origin (0,0) of the image is located. The constant has the same value as defined by EXIF specifications.

    Declaration

    Swift

    enum VisionDetectorImageOrientation : UInt
  • @enum VisionTextRecognizedBreakType An enum of recognized text break types.

    Declaration

    Swift

    enum VisionTextRecognizedBreakType : Int
  • @enum VisionTextRecognizerType An enum of text recognizer types.

    Declaration

    Swift

    enum VisionTextRecognizerType : Int