FirebaseMLVision Framework Reference

VisionBarcodeValueType

enum VisionBarcodeValueType : Int

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

  • Unknown Barcode value types.

    Declaration

    Swift

    case unknown = 0
  • Barcode value type for contact info.

    Declaration

    Swift

    case contactInfo = 1
  • Barcode value type for email addresses.

    Declaration

    Swift

    case email = 2
  • Barcode value type for ISBNs.

    Declaration

    Swift

    case ISBN = 3
  • Barcode value type for phone numbers.

    Declaration

    Swift

    case phone = 4
  • Barcode value type for product codes.

    Declaration

    Swift

    case product = 5
  • SMS

    Barcode value type for SMS details.

    Declaration

    Swift

    case SMS = 6
  • Barcode value type for plain text.

    Declaration

    Swift

    case text = 7
  • URL

    Barcode value type for URLs/bookmarks.

    Declaration

    Swift

    case URL = 8
  • Barcode value type for Wi-Fi access point details.

    Declaration

    Swift

    case wiFi = 9
  • Barcode value type for geographic coordinates.

    Declaration

    Swift

    case geographicCoordinates = 10
  • Barcode value type for calendar events.

    Declaration

    Swift

    case calendarEvent = 11
  • Barcode value type for driver’s license data.

    Declaration

    Swift

    case driversLicense = 12