public enum NfcRecordType extends java.lang.Enum<NfcRecordType>
Enum Constant and Description |
---|
ANDROID_PACKAGE |
UNKNOWN |
URI |
Modifier and Type | Field and Description |
---|---|
java.lang.String |
text |
Modifier and Type | Method and Description |
---|---|
static NfcRecordType |
fromString(java.lang.String recordString) |
java.lang.String |
toString() |
static NfcRecordType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NfcRecordType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NfcRecordType URI
public static final NfcRecordType ANDROID_PACKAGE
public static final NfcRecordType UNKNOWN
public static NfcRecordType[] values()
for (NfcRecordType c : NfcRecordType.values()) System.out.println(c);
public static NfcRecordType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static NfcRecordType fromString(java.lang.String recordString)
public java.lang.String toString()
toString
in class java.lang.Enum<NfcRecordType>