QRCodeDataType

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

Link copied to clipboard
DEFAULT(1 shl 2)

This can be any kind of data. With this you can encode Strings, URLs, images, files, anything.

Link copied to clipboard

Represents Uppercase Alphanumerical data. Allowed characters: [0-9A-Z $%*+\-./:].

Link copied to clipboard
NUMBERS(1 shl 0)

Strictly numerical data. Like huge integers. These can be way bigger than Long.MAX_VALUE.

Properties

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