public static enum PosExchange.Result extends java.lang.Enum<PosExchange.Result>
| Enum Constant and Description |
|---|
BT_ADAPTER_DISABLED
Адаптер bluetooth не включен
|
BT_ADAPTER_NOT_FOUND
Адаптер bluetooth отсутствует
|
BT_DEVICE_NOT_FOUND
Не найден bluetooth терминал
|
BT_NOT_PAIRED_DEVICES
Нет сопряжённых bluetooth устройств
|
CRC_ERROR
При приёме данных получен не корректный crc
|
DEVICE_CONNECT_ERROR
Не удалось установить соединение с терминалом
|
DONE
Процесс обмена данными с терминалом успешно завершён
|
ERROR
Процесс обмена данными с терминалом завершён с ошибкой
|
NAK_ERROR
При передачи данных превышено максимальное количество негативных подтверждений
|
PACKET_ERROR
При разборе пакета возникли ошибки
|
PROCESSING
Выполняется обмен данными с терминалом
|
READ_ERROR
Ошибка чтения данных
|
SEND_ERROR
Ошибка передачи данных
|
USB_DEVICE_ERROR
ошибка подключения к USB устройству
|
USB_DEVICE_NOT_FOUND
отсутствует пдключение по USB
|
| Modifier and Type | Method and Description |
|---|---|
static PosExchange.Result |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PosExchange.Result[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PosExchange.Result PROCESSING
public static final PosExchange.Result DONE
public static final PosExchange.Result ERROR
public static final PosExchange.Result BT_ADAPTER_NOT_FOUND
public static final PosExchange.Result BT_ADAPTER_DISABLED
public static final PosExchange.Result BT_NOT_PAIRED_DEVICES
public static final PosExchange.Result BT_DEVICE_NOT_FOUND
public static final PosExchange.Result DEVICE_CONNECT_ERROR
public static final PosExchange.Result SEND_ERROR
public static final PosExchange.Result READ_ERROR
public static final PosExchange.Result NAK_ERROR
public static final PosExchange.Result CRC_ERROR
public static final PosExchange.Result PACKET_ERROR
public static final PosExchange.Result USB_DEVICE_NOT_FOUND
public static final PosExchange.Result USB_DEVICE_ERROR
public static PosExchange.Result[] values()
for (PosExchange.Result c : PosExchange.Result.values()) System.out.println(c);
public static PosExchange.Result 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 null