AI-generated Key Takeaways
-
This documentation outlines classes and annotations for interacting with barcode data in Google ML Kit.
-
The
Barcode
class is central, representing a detected barcode and its content. -
Several supporting classes like
Barcode.Address
,Barcode.Email
, andBarcode.WiFi
provide structured data for specific barcode types. -
Annotations like
Barcode.BarcodeFormat
andBarcode.BarcodeValueType
define constants for barcode formats and value types. -
Developers can use these elements to access and utilize information extracted from barcodes within their applications.
Annotations
Barcode.Address.AddressType | Address type constants. |
Barcode.BarcodeFormat |
Barcode format constants - enumeration of supported barcode formats:
|
Barcode.BarcodeValueType | Barcode value type constants - enumeration of supported barcode content value types: |
Barcode.Email.FormatType | Email format type constants. |
Barcode.Phone.FormatType | Phone number format type constants. |
Barcode.WiFi.EncryptionType | Wifi encryption type constants. |
Classes
Barcode | Represents a single recognized barcode and its value. |
Barcode.Address | An address. |
Barcode.CalendarDateTime | DateTime data type used in calendar events. |
Barcode.CalendarEvent | A calendar event extracted from QRCode. |
Barcode.ContactInfo | A person's or organization's business card. |
Barcode.DriverLicense | A driver license or ID card. |
Barcode.Email | An email message from a 'MAILTO:' or similar QRCode type. |
Barcode.GeoPoint | GPS coordinates from a 'GEO:' or similar QRCode type. |
Barcode.PersonName | A person's name, both formatted version and individual name components. |
Barcode.Phone | Phone number info. |
Barcode.Sms | A sms message from a 'SMS:' or similar QRCode type. |
Barcode.UrlBookmark | A URL and title from a 'MEBKM:' or similar QRCode type. |
Barcode.WiFi | A wifi network parameters from a 'WIFI:' or similar QRCode type. |