//qrcode-kotlin/qrcode.raw/QRCodeDataType

QRCodeDataType

[common]
enum QRCodeDataType : Enum<QRCodeDataType>

QRCode Modes. Basically represents which kind of data is being encoded.

Rewritten in Kotlin from the original (GitHub)

Author

Rafael Lins - g0dkar

Kazuhiko Arase - kazuhikoarase

Entries

   
NUMBERS [common]
NUMBERS
Strictly numerical data. Like huge integers. These can be way bigger than Long.MAX_VALUE.
UPPER_ALPHA_NUM [common]
UPPER_ALPHA_NUM
Represents Uppercase Alphanumerical data. Allowed characters: [0-9A-Z $%*+\-./:].
DEFAULT [common]
DEFAULT
This can be any kind of data. With this you can encode Strings, URLs, images, files, anything.

Properties

Name Summary
entries [common]
val entries: EnumEntries<QRCodeDataType>
Returns a representation of an immutable list of all enum entries, in the order they’re declared.
name [common]
val name: String
ordinal [common]
val ordinal: Int
value [common]
val value: Int

Functions

Name Summary
valueOf [common]
fun valueOf(value: String): QRCodeDataType
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.)
values [common]
fun values(): Array<QRCodeDataType>
Returns an array containing the constants of this enum type, in the order they’re declared.