com.aspose.barcode

Enum QREncodeType

  • java.lang.Object
    • java.lang.Enum<QREncodeType>
      • com.aspose.barcode.QREncodeType
  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<QREncodeType>


    public enum QREncodeType
    extends java.lang.Enum<QREncodeType>

    QR / MicroQR selector mode. Select ForceQR for standard QR symbols, Auto for MicroQR. ForceMicroQR is used for strongly MicroQR symbol generation if it is possible.

    • Enum Constant Summary

      Enum Constants 
      Enum Constant and Description
      Auto
      Mode starts barcode version negotiation from MicroQR V1
      ForceMicroQR
      Mode starts barcode version negotiation from from MicroQR V1 to V4.
      ForceQR
      Mode starts barcode version negotiation from QR V1
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      int getValue() 
      static QREncodeType valueOf(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static QREncodeType[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • Auto

        public static final QREncodeType Auto

        Mode starts barcode version negotiation from MicroQR V1

      • ForceQR

        public static final QREncodeType ForceQR

        Mode starts barcode version negotiation from QR V1

      • ForceMicroQR

        public static final QREncodeType ForceMicroQR

        Mode starts barcode version negotiation from from MicroQR V1 to V4. If data cannot be encoded into MicroQR, exception is thrown.

    • Method Detail

      • values

        public static QREncodeType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (QREncodeType c : QREncodeType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static QREncodeType valueOf(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • getValue

        public int getValue()