com.google.mlkit.vision.barcode.common

  • 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, and Barcode.WiFi provide structured data for specific barcode types.

  • Annotations like Barcode.BarcodeFormat and Barcode.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

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.