public enum ResultCode extends java.lang.Enum<ResultCode>
Enum Constant and Description |
---|
Count
Count of all ResultCode values
|
Failure
General failure
|
InvalidArgument
One or more of the supplied arguments is invalid
|
NoMemory
Not enough memory
|
NotActivated
ZDK is not activated
|
NotFound
Searched item not found
|
NotInitialized
ZDK is not initialized
|
Ok
Success
|
Unsupported
Requested feature is not supported
|
Modifier and Type | Method and Description |
---|---|
static ResultCode |
fromInt(int i) |
static ResultCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ResultCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResultCode Ok
public static final ResultCode Failure
public static final ResultCode InvalidArgument
public static final ResultCode NoMemory
public static final ResultCode NotFound
public static final ResultCode Unsupported
public static final ResultCode NotActivated
public static final ResultCode NotInitialized
public static final ResultCode Count
public static ResultCode[] values()
for (ResultCode c : ResultCode.values()) System.out.println(c);
public static ResultCode 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 ResultCode fromInt(int i)