public enum QrCodeErrorCorrectionType extends Enum<QrCodeErrorCorrectionType>
Java class for QrCodeErrorCorrectionType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="QrCodeErrorCorrectionType">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="l"/>
<enumeration value="m"/>
<enumeration value="q"/>
<enumeration value="h"/>
</restriction>
</simpleType>
| Modifier and Type | Method and Description |
|---|---|
static QrCodeErrorCorrectionType |
fromValue(String v) |
String |
value() |
static QrCodeErrorCorrectionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static QrCodeErrorCorrectionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final QrCodeErrorCorrectionType L
public static final QrCodeErrorCorrectionType M
public static final QrCodeErrorCorrectionType Q
public static final QrCodeErrorCorrectionType H
public static QrCodeErrorCorrectionType[] values()
for (QrCodeErrorCorrectionType c : QrCodeErrorCorrectionType.values()) System.out.println(c);
public static QrCodeErrorCorrectionType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String value()
public static QrCodeErrorCorrectionType fromValue(String v)
Copyright © 2017–2023 SoftVision Development GmbH, Fulda, Germany. All rights reserved.