BarcodeValueType

Represents the semantic type of data encoded in a Barcode - e.g. a URL, a phone number, or a WiFi config - or UNKNOWN if the content type could not be classified.

This describes what the barcode's content represents, not the barcode's visual format (see BarcodeFormat).

Entries

Link copied to clipboard

The content type could not be classified.

Link copied to clipboard

A contact card (e.g. a vCard or a MeCard).

Link copied to clipboard

An email address or message.

Link copied to clipboard

An ISBN (book number).

Link copied to clipboard

A phone number.

Link copied to clipboard

A product code.

Link copied to clipboard

An SMS message.

Link copied to clipboard

Plain text.

Link copied to clipboard

A URL or bookmark.

Link copied to clipboard

A WiFi network configuration.

Link copied to clipboard

A geographic location.

Link copied to clipboard

A calendar event.

Link copied to clipboard

A driver's license or ID card (AAMVA format).

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
expect val name: String
Link copied to clipboard
expect val ordinal: Int

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.