A barcode value as it was encoded in the barcode. Structured values are not parsed, for example:
‘MEBKM:TITLE:Google;URL:https://www.google.com;;’. Does not include the supplemental value.
A barcode value in a user-friendly format. May omit some of the information encoded in the
barcode. For example, in the case above the display value might be ‘https://www.google.com’.
If valueType == .text, this field will be equal to rawValue. This value may be multiline,
for example, when line breaks are encoded into the original TEXT barcode value. May include
the supplement value.
The four corner points of the barcode, in clockwise order starting with the top left relative
to the detected image in the view coordinate system. These are CGPoints boxed in NSValues.
Due to the possible perspective distortions, this is not necessarily a rectangle.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2021-02-11 UTC."],[],[],null,["# FirebaseMLVision Framework Reference\n\nVisionBarcode\n=============\n\n class VisionBarcode : NSObject\n\nA barcode in an image.\n- `\n ``\n ``\n `\n\n ### [frame](#/c:objc(cs)FIRVisionBarcode(py)frame)\n\n `\n ` \n The rectangle that holds the discovered relative to the detected image in the view\n coordinate system. \n\n #### Declaration\n\n Swift \n\n var frame: CGRect { get }\n\n- `\n ``\n ``\n `\n\n ### [rawValue](#/c:objc(cs)FIRVisionBarcode(py)rawValue)\n\n `\n ` \n A barcode value as it was encoded in the barcode. Structured values are not parsed, for example:\n 'MEBKM:TITLE:Google;URL:\u003chttps://www.google.com;;\u003e'. Does not include the supplemental value. \n\n #### Declaration\n\n Swift \n\n var rawValue: String? { get }\n\n- `\n ``\n ``\n `\n\n ### [rawData](#/c:objc(cs)FIRVisionBarcode(py)rawData)\n\n `\n ` \n Raw data stored in barcode. \n\n #### Declaration\n\n Swift \n\n var rawData: Data? { get }\n\n- `\n ``\n ``\n `\n\n ### [displayValue](#/c:objc(cs)FIRVisionBarcode(py)displayValue)\n\n `\n ` \n A barcode value in a user-friendly format. May omit some of the information encoded in the\n barcode. For example, in the case above the display value might be '\u003chttps://www.google.com\u003e'.\n If valueType == .text, this field will be equal to rawValue. This value may be multiline,\n for example, when line breaks are encoded into the original TEXT barcode value. May include\n the supplement value. \n\n #### Declaration\n\n Swift \n\n var displayValue: String? { get }\n\n- `\n ``\n ``\n `\n\n ### [format](#/c:objc(cs)FIRVisionBarcode(py)format)\n\n `\n ` \n A barcode format; for example, EAN_13. Note that if the format is not in the list,\n VisionBarcodeFormat.unknown would be returned. \n\n #### Declaration\n\n Swift \n\n var format: ../Enums/VisionBarcodeFormat.html { get }\n\n- `\n ``\n ``\n `\n\n ### [cornerPoints](#/c:objc(cs)FIRVisionBarcode(py)cornerPoints)\n\n `\n ` \n The four corner points of the barcode, in clockwise order starting with the top left relative\n to the detected image in the view coordinate system. These are CGPoints boxed in NSValues.\n Due to the possible perspective distortions, this is not necessarily a rectangle. \n\n #### Declaration\n\n Swift \n\n var cornerPoints: [NSValue]? { get }\n\n- `\n ``\n ``\n `\n\n ### [valueType](#/c:objc(cs)FIRVisionBarcode(py)valueType)\n\n `\n ` \n A type of the barcode value. For example, TEXT, PRODUCT, URL, etc. Note that if the type is not\n in the list, .unknown would be returned. \n\n #### Declaration\n\n Swift \n\n var valueType: ../Enums/VisionBarcodeValueType.html { get }\n\n- `\n ``\n ``\n `\n\n ### [email](#/c:objc(cs)FIRVisionBarcode(py)email)\n\n `\n ` \n An email message from a 'MAILTO:' or similar QR Code type. This property is only set if\n valueType is .email. \n\n #### Declaration\n\n Swift \n\n var email: ../Classes/VisionBarcodeEmail.html? { get }\n\n- `\n ``\n ``\n `\n\n ### [phone](#/c:objc(cs)FIRVisionBarcode(py)phone)\n\n `\n ` \n A phone number from a 'TEL:' or similar QR Code type. This property is only set if valueType\n is .phone. \n\n #### Declaration\n\n Swift \n\n var phone: ../Classes/VisionBarcodePhone.html? { get }\n\n- `\n ``\n ``\n `\n\n ### [sms](#/c:objc(cs)FIRVisionBarcode(py)sms)\n\n `\n ` \n An SMS message from an 'SMS:' or similar QR Code type. This property is only set if valueType\n is .sms. \n\n #### Declaration\n\n Swift \n\n var sms: ../Classes/VisionBarcodeSMS.html? { get }\n\n- `\n ``\n ``\n `\n\n ### [url](#/c:objc(cs)FIRVisionBarcode(py)URL)\n\n `\n ` \n A URL and title from a 'MEBKM:' or similar QR Code type. This property is only set if\n valueType is .url. \n\n #### Declaration\n\n Swift \n\n var url: ../Classes/VisionBarcodeURLBookmark.html? { get }\n\n- `\n ``\n ``\n `\n\n ### [wifi](#/c:objc(cs)FIRVisionBarcode(py)wifi)\n\n `\n ` \n Wi-Fi network parameters from a 'WIFI:' or similar QR Code type. This property is only set\n if valueType is .wifi. \n\n #### Declaration\n\n Swift \n\n var wifi: ../Classes/VisionBarcodeWifi.html? { get }\n\n- `\n ``\n ``\n `\n\n ### [geoPoint](#/c:objc(cs)FIRVisionBarcode(py)geoPoint)\n\n `\n ` \n GPS coordinates from a 'GEO:' or similar QR Code type. This property is only set if valueType\n is .geo. \n\n #### Declaration\n\n Swift \n\n var geoPoint: ../Classes/VisionBarcodeGeoPoint.html? { get }\n\n- `\n ``\n ``\n `\n\n ### [contactInfo](#/c:objc(cs)FIRVisionBarcode(py)contactInfo)\n\n `\n ` \n A person's or organization's business card. For example a VCARD. This property is only set\n if valueType is .contactInfo. \n\n #### Declaration\n\n Swift \n\n var contactInfo: ../Classes/VisionBarcodeContactInfo.html? { get }\n\n- `\n ``\n ``\n `\n\n ### [calendarEvent](#/c:objc(cs)FIRVisionBarcode(py)calendarEvent)\n\n `\n ` \n A calendar event extracted from a QR Code. This property is only set if valueType is\n .calendarEvent. \n\n #### Declaration\n\n Swift \n\n var calendarEvent: ../Classes/VisionBarcodeCalendarEvent.html? { get }\n\n- `\n ``\n ``\n `\n\n ### [driverLicense](#/c:objc(cs)FIRVisionBarcode(py)driverLicense)\n\n `\n ` \n A driver license or ID card. This property is only set if valueType is .driverLicense. \n\n #### Declaration\n\n Swift \n\n var driverLicense: ../Classes/VisionBarcodeDriverLicense.html? { get }\n\n- `\n ``\n ``\n `\n\n ### [-init](#/c:objc(cs)FIRVisionBarcode(im)init)\n\n `\n ` \n Unavailable."]]