|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<SDKState> com.biocomfort.SDK.SDKState
public enum SDKState
The enumeration SDKState
contains the possible states of
the SDK implementation.
SDK
Enum Constant Summary | |
---|---|
EXITED
This state indicates that the exiting process has ended without errors. |
|
EXITED_WITH_ERROR
The exiting process was canceled by errors. |
|
EXITING
The SDK is exiting and tearing down. |
|
NOT_STARTED
The SKD has not been started until now. |
|
STARTED
This state indicates that the SDK is started and ready to use. |
|
STARTED_WITH_ERROR
The starting process was canceled by errors. |
|
STARTING
The SDK is starting and setting up. |
|
SUSPENDED
The SDK is temporary not ready to use. |
Method Summary | |
---|---|
static SDKState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static SDKState[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final SDKState NOT_STARTED
start()
or the
synchronous method startAndWait()
.
SDK.start()
,
SDK.startAndWait()
public static final SDKState STARTING
SDK.start()
,
SDK.startAndWait()
public static final SDKState STARTED
public static final SDKState SUSPENDED
public static final SDKState STARTED_WITH_ERROR
public static final SDKState EXITING
SDK.exit()
,
SDK.exitAndWait()
public static final SDKState EXITED
public static final SDKState EXITED_WITH_ERROR
Method Detail |
---|
public static final SDKState[] values()
for(SDKState c : SDKState.values()) System.out.println(c);
public static SDKState 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 name
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |