Package boofcv.alg.fiducial.qrcode
Enum QrCode.Mode
- All Implemented Interfaces:
Serializable
,Comparable<QrCode.Mode>
,java.lang.constant.Constable
- Enclosing class:
- QrCode
public static enum QrCode.Mode extends Enum<QrCode.Mode>
The encoding mode. A QR Code can be encoded with multiple modes. The most complex character set is what the
final mode is set to when decoding a QR code.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants Enum Constant Description ALPHANUMERIC
BYTE
ECI
FNC1_FIRST
FNC1_SECOND
KANJI
MIXED
The message has been encoded using multiple modesNUMERIC
STRUCTURE_APPENDED
UNKNOWN
Place holder -
Method Summary
Modifier and Type Method Description static QrCode.Mode
lookup(int bits)
static @Nullable QrCode.Mode
lookup(String name)
static QrCode.Mode
valueOf(String name)
Returns the enum constant of this type with the specified name.static QrCode.Mode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
NUMERIC
-
ALPHANUMERIC
-
BYTE
-
KANJI
-
ECI
-
STRUCTURE_APPENDED
-
FNC1_FIRST
-
FNC1_SECOND
-
UNKNOWN
Place holder -
MIXED
The message has been encoded using multiple modes
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
lookup
-
lookup
-