public enum ResultCode extends java.lang.Enum<ResultCode> implements IEnumType
Enum Constant and Description |
---|
BusyDevice
Busy Device
|
CommandFormatError
Command format error
|
ConnectFail
Connect Failed
|
CRCError
CRC error on tag response
|
FailedParameter
Failed to process Parameter
|
HandleMismatch
Handle Mismatch
|
InOperation
In Operation
|
InsufficientPower
Insufficient Power
|
InvalidCommand
Invalid command
|
InvalidModule
Invalid Module Object
|
InvalidParameter
Invalid Parameter
|
InvalidPassword
Invalid password
|
InvalidReceivePacket
Invalid Receive Packet
|
InvalidResponse
Invalid Response
|
InvalidResponseData
Invalid Response Data
|
InvalidResponseExParam
Invalid Response Extend Parameter
|
InvalidResponseIndex
Invalid Response Index
|
InvalidSendPacket
Invalid Send Packet
|
LowBattery
Low battery
|
MemoryLocked
Memory Locked
|
MemoryOverrun
Memory Overrun
|
NoError
No Error
|
NonSpecificError
Non-Specific Error
|
NoTagReply
No tag reply
|
NotFoundParameter
Not Found Parameter
|
NotSupported
Not Supported
|
NotSupportedBarcodeMode
Not Supported Barcode Mode
|
NotSupportedBeep
Not Supported Beep Function
|
NotSupportedKeyMode
Not Supported Barcode Mode
|
NotSupportedLight
Not Supported Light Function
|
NotSupportedNormalMode
Not Supported Normal Mode
|
NotSupportedVibrate
Not Supported Vibration Function
|
OperationFailed
Operation failed
|
OtherError
Other Error
|
OutOfRange
Out of Range
|
OutOfRetries
Out of retries
|
ParamError
Parameter error
|
ReadCountInvalid
Read count invalid
|
ReceiveFail
Receive Failed
|
ReceiveTimeout
Receive Timeout
|
SendFail
Send Failed
|
SendTimeout
Send Timeout
|
SystemError
System Error
|
TagLost
Tag lost
|
Timeout
Timeout
|
Undefined
Undefined
|
UnknownError
Unknown Error
|
ZeroKillPassword
Zero kill password
|
Modifier and Type | Method and Description |
---|---|
int |
getCode()
Get the enum code value
|
java.lang.String |
getMessage()
Returns the result code's description.
|
java.lang.String |
toString()
Return the name of the enum
|
static ResultCode |
valueOf(int code)
Returns the enum constant of this type with the specified code.
|
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 NoError
public static final ResultCode OtherError
public static final ResultCode Undefined
public static final ResultCode MemoryOverrun
public static final ResultCode MemoryLocked
public static final ResultCode InsufficientPower
public static final ResultCode NonSpecificError
public static final ResultCode InvalidModule
public static final ResultCode NotSupported
public static final ResultCode InOperation
public static final ResultCode OutOfRange
public static final ResultCode NotSupportedBeep
public static final ResultCode NotSupportedVibrate
public static final ResultCode NotSupportedLight
public static final ResultCode NotSupportedNormalMode
public static final ResultCode NotSupportedBarcodeMode
public static final ResultCode NotSupportedKeyMode
public static final ResultCode InvalidResponse
public static final ResultCode InvalidResponseIndex
public static final ResultCode InvalidParameter
public static final ResultCode InvalidResponseData
public static final ResultCode InvalidResponseExParam
public static final ResultCode FailedParameter
public static final ResultCode NotFoundParameter
public static final ResultCode SendFail
public static final ResultCode ReceiveFail
public static final ResultCode SendTimeout
public static final ResultCode ReceiveTimeout
public static final ResultCode InvalidSendPacket
public static final ResultCode InvalidReceivePacket
public static final ResultCode ConnectFail
public static final ResultCode Timeout
public static final ResultCode UnknownError
public static final ResultCode SystemError
public static final ResultCode HandleMismatch
public static final ResultCode CRCError
public static final ResultCode NoTagReply
public static final ResultCode InvalidPassword
public static final ResultCode ZeroKillPassword
public static final ResultCode TagLost
public static final ResultCode CommandFormatError
public static final ResultCode ReadCountInvalid
public static final ResultCode OutOfRetries
public static final ResultCode ParamError
public static final ResultCode BusyDevice
public static final ResultCode InvalidCommand
public static final ResultCode LowBattery
public static final ResultCode OperationFailed
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 int getCode()
IEnumType
public java.lang.String toString()
IEnumType
toString
in interface IEnumType
toString
in class java.lang.Enum<ResultCode>
public static ResultCode valueOf(int code)
code
- The code to checkpublic java.lang.String getMessage()