public enum HttpNfcLeaseState extends Enum<HttpNfcLeaseState>
Java class for HttpNfcLeaseState.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="HttpNfcLeaseState">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="initializing"/>
<enumeration value="ready"/>
<enumeration value="done"/>
<enumeration value="error"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
DONE |
ERROR |
INITIALIZING |
READY |
| Modifier and Type | Method and Description |
|---|---|
static HttpNfcLeaseState |
fromValue(String v) |
String |
value() |
static HttpNfcLeaseState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HttpNfcLeaseState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HttpNfcLeaseState INITIALIZING
public static final HttpNfcLeaseState READY
public static final HttpNfcLeaseState DONE
public static final HttpNfcLeaseState ERROR
public static HttpNfcLeaseState[] values()
for (HttpNfcLeaseState c : HttpNfcLeaseState.values()) System.out.println(c);
public static HttpNfcLeaseState 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 HttpNfcLeaseState fromValue(String v)
Copyright © 2018. All rights reserved.