CommandStatus

public enum CommandStatus extends Enum<CommandStatus>

Enum describing the possible status of commands executed by the Nix device, as provided in the OnDeviceResultListener.

Entries

Link copied to clipboard

Status code indicating that the command completed successfully.

Link copied to clipboard

Status code indicating that the command was aborted because the Nix device was not ready (i.e. - it was already executing another command).

Link copied to clipboard

Status code indicating that the command was aborted because the it was not supported by the Nix device instance.

Link copied to clipboard

Status code indicating that the command was aborted because it contained invalid arguments.

Link copied to clipboard

Status code indicating that the command was aborted because of a low power state on the Nix device (e.g. - insufficient battery power to complete a measurement).

Link copied to clipboard

Status code indicating that the command failed due to a timeout error.

Link copied to clipboard

Status code indicating that the measurement operation failed due to the detection of ambient light leakage.

Link copied to clipboard

Status code indicating that the in-field calibration operation failed due to high delta E (i.e. - the calibration reference tile could not be verified by its color value). This status is only possible after a IDeviceCompat.runFieldCalibration command.

Link copied to clipboard

Status code indicating that the command failed due to an unknown / internal SDK error.

Link copied to clipboard

Status code indicating that the in-field calibration operation completed successfully, but a temperature warning was issued (i.e. - the ambient temperature of the device is currently outside of the recommended range). This status is only possible after a IDeviceCompat.runFieldCalibration command.

Link copied to clipboard

Status code indicating that the command failed due to a problem with the LicenseManager. Check LicenseManager.Shared.state for details.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
private final String name
Link copied to clipboard
private final Integer ordinal
Link copied to clipboard
private final Integer value

Functions

Link copied to clipboard

Enum describing the possible status of commands executed by the Nix device, as provided in the OnDeviceResultListener.

Link copied to clipboard
public final String getName()
Link copied to clipboard
public final Integer getOrdinal()
Link copied to clipboard
public final Integer getValue()
Link copied to clipboard
public final CommandStatus valueOf(String value)

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard
public final Array<CommandStatus> values()

Returns an array containing the constants of this enum type, in the order they're declared.