Enumerations

The following enumerations are available globally.

  • @enum VisionBarcodeValueType Barcode’s value format. For example, TEXT, PRODUCT, URL, etc.

    Declaration

    Swift

    enum VisionBarcodeValueType : Int
  • @enum VisionBarcodeAddressType Address type.

    Declaration

    Swift

    enum VisionBarcodeAddressType : Int
  • @enum VisionBarcodeEmailType Email type for VisionBarcodeEmail.

    Declaration

    Swift

    enum VisionBarcodeEmailType : Int
  • @enum VisionBarcodePhoneType Phone type for VisionBarcodePhone.

    Declaration

    Swift

    enum VisionBarcodePhoneType : Int
  • @enum VisionBarcodeWiFiEncryptionType 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 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 VisionImageLabelerType An enum of image labeler types.

    Declaration

    Swift

    enum VisionImageLabelerType : 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