Package-level declarations

Types

Link copied to clipboard

Implements KDDI AU's address book format. See http://www.au.kddi.com/ezfactory/tec/two_dimensions/index.html. (Thanks to Yuzo for translating!)

Link copied to clipboard
class AddressBookParsedResult(names: Array<String?>?, nicknames: Array<String?>?, pronunciation: String?, phoneNumbers: Array<String?>?, phoneTypes: Array<String?>?, emails: Array<String?>?, emailTypes: Array<String?>?, instantMessenger: String?, note: String?, addresses: Array<String?>?, addressTypes: Array<String?>?, org: String?, birthday: String?, title: String?, urls: Array<String?>?, geo: Array<String?>?) : ParsedResult

Represents a parsed result that encodes contact information, like that in an address book entry.

Link copied to clipboard
class CalendarParsedResult(summary: String?, startString: String?, endString: String?, durationString: String?, location: String?, organizer: String?, attendees: Array<String?>?, description: String?, latitude: Double, longitude: Double) : ParsedResult

Represents a parsed result that encodes a calendar event at a certain time, optionally with attendees and a location.

Link copied to clipboard

Represents a parsed result that encodes an email message including recipients, subject and body text.

Link copied to clipboard

Represents a result that encodes an e-mail address, either as a plain address like "joe@example.org" or a mailto: URL like "mailto:joe@example.org".

Link copied to clipboard
class ExpandedProductParsedResult(rawText: String?, productID: String?, sscc: String?, lotNumber: String?, productionDate: String?, packagingDate: String?, bestBeforeDate: String?, expirationDate: String?, weight: String?, weightType: String?, weightIncrement: String?, price: String?, priceIncrement: String?, priceCurrency: String?, uncommonAIs: Map<String, String>?) : ParsedResult

Represents a parsed result that encodes extended product information as encoded by the RSS format, like weight, price, dates, etc.

Link copied to clipboard

Parses strings of digits that represent a RSS Extended code.

Link copied to clipboard

Represents a parsed result that encodes a geographic coordinate, with latitude, longitude and altitude.

Link copied to clipboard

Parses a "geo:" URI result, which specifies a location on the surface of the Earth as well as an optional altitude above the surface. See http://tools.ietf.org/html/draft-mayrhofer-geo-uri-00.

Link copied to clipboard

Represents a parsed result that encodes a product ISBN number.

Link copied to clipboard

Parses strings of digits that represent a ISBN.

Link copied to clipboard
abstract class ParsedResult

Abstract class representing the result of decoding a barcode, as more than a String -- as some type of structured data. This might be a subclass which represents a URL, or an e-mail address. ResultParser.parseResult will turn a raw decoded string into the most appropriate type of structured representation.

Link copied to clipboard

Represents the type of data encoded by a barcode -- from plain text, to a URI, to an e-mail address, etc.

Link copied to clipboard

Represents a parsed result that encodes a product by an identifier of some kind.

Link copied to clipboard

Parses strings of digits that represent a UPC code.

Link copied to clipboard
abstract class ResultParser

Abstract class representing the result of decoding a barcode, as more than a String -- as some type of structured data. This might be a subclass which represents a URL, or an e-mail address. parseResult will turn a raw decoded string into the most appropriate type of structured representation.

Link copied to clipboard

Parses an "sms:" URI result, which specifies a number to SMS. See RFC 5724 on this.

Link copied to clipboard

Represents a parsed result that encodes an SMS message, including recipients, subject and body text.

Link copied to clipboard

Parses an "smsto:" URI result, whose format is not standardized but appears to be like: smsto:number(:body).

Link copied to clipboard

Parses an "smtp:" URI result, whose format is not standardized but appears to be like: smtp[:subject[:body]].

Link copied to clipboard
class TelParsedResult(number: String?, telURI: String?, title: String?) : ParsedResult

Represents a parsed result that encodes a telephone number.

Link copied to clipboard

Parses a "tel:" URI result, which specifies a phone number.

Link copied to clipboard
class TextParsedResult(text: String?, language: String?) : ParsedResult

A simple result type encapsulating a string that has no further interpretation.

Link copied to clipboard
class URIParsedResult(uri: String, title: String?) : ParsedResult

A simple result type encapsulating a URI that has no further interpretation.

Link copied to clipboard

Tries to parse results that are a URI of some kind.

Link copied to clipboard

Parses the "URLTO" result format, which is of the form "URLTO:title:url". This seems to be used sometimes, but I am not able to find documentation on its origin or official format?

Link copied to clipboard

Parses contact information formatted according to the VCard (2.1) format. This is not a complete implementation but should parse information as commonly encoded in 2D barcodes.

Link copied to clipboard

Partially implements the iCalendar format's "VEVENT" format for specifying a calendar event. See RFC 2445. This supports SUMMARY, LOCATION, GEO, DTSTART and DTEND fields.

Link copied to clipboard
class VINParsedResult(vin: String, worldManufacturerID: String, vehicleDescriptorSection: String, vehicleIdentifierSection: String, countryCode: String?, vehicleAttributes: String, modelYear: Int, plantCode: Char, sequentialNumber: String) : ParsedResult

Represents a parsed result that encodes a Vehicle Identification Number (VIN).

Link copied to clipboard

Detects a result that is likely a vehicle identification number.

Link copied to clipboard
class WifiParsedResult(networkEncryption: String?, ssid: String?, password: String?, hidden: Boolean, identity: String?, anonymousIdentity: String?, eapMethod: String?, phase2Method: String?) : ParsedResult

Represents a parsed result that encodes wifi network information, like SSID and password.

Link copied to clipboard

Parses a WIFI configuration string. Strings will be of the form: