public static enum NotifyingAsyncCallback.State extends Enum<NotifyingAsyncCallback.State>
UNKNOWN
state and moves to INITIALIZED
when NotifyingAsyncCallback.prepare()
is called. If NotifyingAsyncCallback.checkLoading()
is called before the async call has succeeded
or failed, then it moves to LOADING
. When the call terminates it moves to
SUCCEEDED
or FAILED
.Enum Constant and Description |
---|
FAILED |
INITIALIZED |
LOADING |
SUCCEEDED |
UNKNOWN |
Modifier and Type | Method and Description |
---|---|
static NotifyingAsyncCallback.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NotifyingAsyncCallback.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NotifyingAsyncCallback.State UNKNOWN
public static final NotifyingAsyncCallback.State INITIALIZED
public static final NotifyingAsyncCallback.State LOADING
public static final NotifyingAsyncCallback.State SUCCEEDED
public static final NotifyingAsyncCallback.State FAILED
public static NotifyingAsyncCallback.State[] values()
for (NotifyingAsyncCallback.State c : NotifyingAsyncCallback.State.values()) System.out.println(c);
public static NotifyingAsyncCallback.State 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 nullCopyright © 2010–2014 Arcbees. All rights reserved.