Classes

The following classes are available globally.

  • A Firebase service that supports vision APIs.

    Declaration

    Swift

    class Vision : NSObject
  • An address.

    Declaration

    Swift

    class VisionBarcodeAddress : NSObject
  • A calendar event extracted from a QR code.

    Declaration

    Swift

    class VisionBarcodeCalendarEvent : NSObject
  • A driver license or ID card data representation.

    An ANSI driver license contains more fields than are represented by this class. The FIRVisionBarcodes rawValue property can be used to access the other fields.

    Declaration

    Swift

    class VisionBarcodeDriverLicense : NSObject
  • An email message from a ‘MAILTO:’ or similar QR Code type.

    Declaration

    Swift

    class VisionBarcodeEmail : NSObject
  • GPS coordinates from a ‘GEO:’ or similar QR Code type data.

    Declaration

    Swift

    class VisionBarcodeGeoPoint : NSObject
  • A person’s name, both formatted and as individual name components.

    Declaration

    Swift

    class VisionBarcodePersonName : NSObject
  • A phone number from a ‘TEL:’ or similar QR Code type.

    Declaration

    Swift

    class VisionBarcodePhone : NSObject
  • An SMS message from an ‘SMS:’ or similar QR Code type.

    Declaration

    Swift

    class VisionBarcodeSMS : NSObject
  • A URL and title from a ‘MEBKM:’ or similar QR Code type.

    Declaration

    Swift

    class VisionBarcodeURLBookmark : NSObject
  • Wi-Fi network parameters from a ‘WIFI:’ or similar QR Code type.

    Declaration

    Swift

    class VisionBarcodeWifi : NSObject
  • A person’s or organization’s business card. This may come from different underlying formats including VCARD and MECARD.

    This object represents a simplified view of possible business cards. If you require lossless access to the information in the barcode, you should parse the raw data yourself. To access the raw data, use the FIRVisionBarcodes rawValue property.

    Declaration

    Swift

    class VisionBarcodeContactInfo : NSObject
  • A barcode in an image.

    Declaration

    Swift

    class VisionBarcode : NSObject
  • A barcode detector that detects barcodes in an image.

    Declaration

    Swift

    class VisionBarcodeDetector : NSObject
  • Generic options of a vision cloud detector.

    Declaration

    Swift

    class VisionCloudDetectorOptions : NSObject