Packagecom.tuarua.firebase.ml.vision.barcode
Classpublic class Barcode
InheritanceBarcode Inheritance Object



Public Properties
 PropertyDefined By
  calendarEvent : BarcodeCalendarEvent
A calendar event extracted from a QR Code.
Barcode
  contactInfo : BarcodeContactInfo
A person's or organization's business card.
Barcode
  cornerPoints : Vector.<Point>
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.
Barcode
  displayValue : String
A barcode value in a user-friendly format.
Barcode
  driverLicense : BarcodeDriverLicense
A driver license or ID card.
Barcode
  email : BarcodeEmail
An email message from a 'MAILTO:' or similar QR Code type.
Barcode
  format : int
A barcode format; for example, EAN_13.
Barcode
  frame : Rectangle
The rectangle that holds the discovered relative to the detected image in the view coordinate system.
Barcode
  geoPoint : BarcodeGeoPoint
GPS coordinates from a 'GEO:' or similar QR Code type.
Barcode
  phone : BarcodePhone
A phone number from a 'TEL:' or similar QR Code type.
Barcode
  rawValue : String
A barcode value as it was encoded in the barcode.
Barcode
  sms : BarcodeSMS
An SMS message from an 'SMS:' or similar QR Code type.
Barcode
  url : BarcodeURLBookmark
A URL and title from a 'MEBKM:' or similar QR Code type.
Barcode
  valueType : int
A type of the barcode value.
Barcode
  wifi : BarcodeWifi
Wi-Fi network parameters from a 'WIFI:' or similar QR Code type.
Barcode
Public Methods
 MethodDefined By
  
private
Barcode
Property Detail
calendarEventproperty
public var calendarEvent:BarcodeCalendarEvent

A calendar event extracted from a QR Code. This property is only set if valueType is .calendarEvent.

contactInfoproperty 
public var contactInfo:BarcodeContactInfo

A person's or organization's business card. For example a VCARD. This property is only set if valueType is .contactInfo.

cornerPointsproperty 
public var cornerPoints:Vector.<Point>

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 flash.geom.Point boxed in values. Due to the possible perspective distortions, this is not necessarily a rectangle.

displayValueproperty 
public var displayValue:String

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.

driverLicenseproperty 
public var driverLicense:BarcodeDriverLicense

A driver license or ID card. This property is only set if valueType is .driverLicense.

emailproperty 
public var email:BarcodeEmail

An email message from a 'MAILTO:' or similar QR Code type. This property is only set if valueType is .email.

formatproperty 
public var format:int

A barcode format; for example, EAN_13. Note that if the format is not in the list, VisionBarcodeFormat.unknown would be returned.

frameproperty 
public var frame:Rectangle

The rectangle that holds the discovered relative to the detected image in the view coordinate system.

geoPointproperty 
public var geoPoint:BarcodeGeoPoint

GPS coordinates from a 'GEO:' or similar QR Code type. This property is only set if valueType is .geo.

phoneproperty 
public var phone:BarcodePhone

A phone number from a 'TEL:' or similar QR Code type. This property is only set if valueType is .phone.

rawValueproperty 
public var rawValue:String

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.

smsproperty 
public var sms:BarcodeSMS

An SMS message from an 'SMS:' or similar QR Code type. This property is only set if valueType is .sms.

urlproperty 
public var url:BarcodeURLBookmark

A URL and title from a 'MEBKM:' or similar QR Code type. This property is only set if valueType is .url.

valueTypeproperty 
public var valueType:int

A type of the barcode value. For example, TEXT, PRODUCT, URL, etc. Note that if the type is not in the list, .unknown would be returned.

wifiproperty 
public var wifi:BarcodeWifi

Wi-Fi network parameters from a 'WIFI:' or similar QR Code type. This property is only set if valueType is .wifi.

Constructor Detail
Barcode()Constructor
public function Barcode()

private