Enum QRCode
- java.lang.Object
-
- java.lang.Enum<QRCode>
-
- com.streamlayer.interactive.common.QRCode
-
-
Enum Constant Summary
Enum Constants Enum Constant Description QR_CODE_DISABLEDQR_CODE_DISABLED = 2;QR_CODE_ENABLEDQR_CODE_ENABLED = 1;QR_CODE_UNSETQR_CODE_UNSET = 0;UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intQR_CODE_DISABLED_VALUEQR_CODE_DISABLED = 2;static intQR_CODE_ENABLED_VALUEQR_CODE_ENABLED = 1;static intQR_CODE_UNSET_VALUEQR_CODE_UNSET = 0;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static QRCodeforNumber(int value)intgetNumber()static com.google.protobuf.Internal.EnumLiteMap<QRCode>internalGetValueMap()static com.google.protobuf.Internal.EnumVerifierinternalGetVerifier()static QRCodevalueOf(int value)Deprecated.static QRCodevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static QRCode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
QR_CODE_UNSET
public static final QRCode QR_CODE_UNSET
QR_CODE_UNSET = 0;
-
QR_CODE_ENABLED
public static final QRCode QR_CODE_ENABLED
QR_CODE_ENABLED = 1;
-
QR_CODE_DISABLED
public static final QRCode QR_CODE_DISABLED
QR_CODE_DISABLED = 2;
-
UNRECOGNIZED
public static final QRCode UNRECOGNIZED
-
-
Field Detail
-
QR_CODE_UNSET_VALUE
public static final int QR_CODE_UNSET_VALUE
QR_CODE_UNSET = 0;- See Also:
- Constant Field Values
-
QR_CODE_ENABLED_VALUE
public static final int QR_CODE_ENABLED_VALUE
QR_CODE_ENABLED = 1;- See Also:
- Constant Field Values
-
QR_CODE_DISABLED_VALUE
public static final int QR_CODE_DISABLED_VALUE
QR_CODE_DISABLED = 2;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static QRCode[] 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 (QRCode c : QRCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static QRCode 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 namejava.lang.NullPointerException- if the argument is null
-
getNumber
public final int getNumber()
- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite
-
valueOf
@Deprecated public static QRCode valueOf(int value)
Deprecated.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:
value- 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 namejava.lang.NullPointerException- if the argument is null
-
forNumber
public static QRCode forNumber(int value)
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<QRCode> internalGetValueMap()
-
internalGetVerifier
public static com.google.protobuf.Internal.EnumVerifier internalGetVerifier()
-
-