Package com.zebra.scannercontrol
Enum Class DCSSDKDefs.DCSSDK_RESULT
- All Implemented Interfaces:
Serializable
,Comparable<DCSSDKDefs.DCSSDK_RESULT>
,Constable
- Enclosing class:
DCSSDKDefs
These constants are defined to represent result codes that can be returned by SDK API functions.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionA particular API function has completed unsuccessfully.Firmware Upgrade aborted for specified scanner.Firmware update is failed due to commands are out of sync.Firmware update is failed due to firmware has overlapping addressFirmware update is failed due to a load count errorFirmware update is not allowed when the battery percentage is below 20%.A Firmware Upgrade is in progress for specified scanner.A particular API function has completed unsuccessfully due to invalid input and/or output parameters.A particular API function has completed unsuccessfully due to unsupported opcode.A particular API function has completed unsuccessfully due to expiration of a response timeout during communication with a particular scanner.Scale is not available in the specified scanner.Scanner that trying to establish the connection is already activeA particular API function has completed unsuccessfully because a specified scanner was not active.A particular API function has completed unsuccessfully because a specified scanner was not available.A particular API function has completed successfully. -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic DCSSDKDefs.DCSSDK_RESULT
getDCSDKResultByValue
(int value) Retrieves the DCSSDK_RESULT enum for the given value(result code)int
getValue()
static DCSSDKDefs.DCSSDK_RESULT
Returns the enum constant of this class with the specified name.static DCSSDKDefs.DCSSDK_RESULT[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DCSSDK_RESULT_SUCCESS
A particular API function has completed successfully. -
DCSSDK_RESULT_FAILURE
A particular API function has completed unsuccessfully. -
DCSSDK_RESULT_SCANNER_NOT_AVAILABLE
A particular API function has completed unsuccessfully because a specified scanner was not available. -
DCSSDK_RESULT_SCANNER_NOT_ACTIVE
A particular API function has completed unsuccessfully because a specified scanner was not active. -
DCSSDK_RESULT_INVALID_PARAMS
A particular API function has completed unsuccessfully due to invalid input and/or output parameters. -
DCSSDK_RESULT_RESPONSE_TIMEOUT
A particular API function has completed unsuccessfully due to expiration of a response timeout during communication with a particular scanner. -
DCSSDK_RESULT_OPCODE_NOT_SUPPORTED
A particular API function has completed unsuccessfully due to unsupported opcode. -
DCSSDK_RESULT_SCANNER_ALREADY_ACTIVE
Scanner that trying to establish the connection is already active -
DCSSDK_RESULT_FIRMWARE_UPDATE_IN_PROGRESS
A Firmware Upgrade is in progress for specified scanner. -
DCSSDK_RESULT_FIRMWARE_UPDATE_ABORTED
Firmware Upgrade aborted for specified scanner. -
DCSSDK_RESULT_SCALE_NOT_PRESENT
Scale is not available in the specified scanner. -
DCSSDK_RESULT_FIRMWARE_UPDATE_FAILED_LOW_BATTERY_LEVEL
Firmware update is not allowed when the battery percentage is below 20%. -
DCSSDK_RESULT_FIRMWARE_UPDATE_FAILED_COMMANDS_ARE_OUT_OF_SYNC
public static final DCSSDKDefs.DCSSDK_RESULT DCSSDK_RESULT_FIRMWARE_UPDATE_FAILED_COMMANDS_ARE_OUT_OF_SYNCFirmware update is failed due to commands are out of sync. -
DCSSDK_RESULT_FIRMWARE_UPDATE_FAILED_HAS_OVERLAPPING_ADDRESS
public static final DCSSDKDefs.DCSSDK_RESULT DCSSDK_RESULT_FIRMWARE_UPDATE_FAILED_HAS_OVERLAPPING_ADDRESSFirmware update is failed due to firmware has overlapping address -
DCSSDK_RESULT_FIRMWARE_UPDATE_FAILED_LOAD_COUNT_ERROR
Firmware update is failed due to a load count error
-
-
Field Details
-
value
public int value
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getValue
public int getValue() -
getDCSDKResultByValue
Retrieves the DCSSDK_RESULT enum for the given value(result code)- Parameters:
value
- result code- Returns:
- Corresponding DCSSDK_RESULT enum
-