Enum QrCode.Mode

java.lang.Object
java.lang.Enum<QrCode.Mode>
boofcv.alg.fiducial.qrcode.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.
  • Enum Constant Details

    • NUMERIC

      public static final QrCode.Mode NUMERIC
    • ALPHANUMERIC

      public static final QrCode.Mode ALPHANUMERIC
    • BYTE

      public static final QrCode.Mode BYTE
    • KANJI

      public static final QrCode.Mode KANJI
    • ECI

      public static final QrCode.Mode ECI
    • STRUCTURE_APPENDED

      public static final QrCode.Mode STRUCTURE_APPENDED
    • FNC1_FIRST

      public static final QrCode.Mode FNC1_FIRST
    • FNC1_SECOND

      public static final QrCode.Mode FNC1_SECOND
    • UNKNOWN

      public static final QrCode.Mode UNKNOWN
      Place holder
    • MIXED

      public static final QrCode.Mode MIXED
      The message has been encoded using multiple modes
  • Method Details

    • values

      public static QrCode.Mode[] 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

      public static QrCode.Mode valueOf​(String name)
      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 name
      NullPointerException - if the argument is null
    • lookup

      public static QrCode.Mode lookup​(int bits)
    • lookup

      @Nullable public static @Nullable QrCode.Mode lookup​(String name)