Enum BLECallbacks.Error
- java.lang.Object
-
- java.lang.Enum<BLECallbacks.Error>
-
- com.zentri.zentri_ble.BLECallbacks.Error
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<BLECallbacks.Error>
- Enclosing interface:
- BLECallbacks
public static enum BLECallbacks.Error extends java.lang.Enum<BLECallbacks.Error>
Enum Constant Summary
Method Summary
Modifier and Type | Method and Description |
---|---|
static BLECallbacks.Error |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BLECallbacks.Error[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Enum Constant Detail
-
CONNECT_WITHOUT_REQUEST
public static final BLECallbacks.Error CONNECT_WITHOUT_REQUEST
-
DISCONNECT_WITHOUT_REQUEST
public static final BLECallbacks.Error DISCONNECT_WITHOUT_REQUEST
-
INVALID_MODE
public static final BLECallbacks.Error INVALID_MODE
-
NO_TX_CHARACTERISTIC
public static final BLECallbacks.Error NO_TX_CHARACTERISTIC
-
NO_RX_CHARACTERISTIC
public static final BLECallbacks.Error NO_RX_CHARACTERISTIC
-
NO_MODE_CHARACTERISTIC
public static final BLECallbacks.Error NO_MODE_CHARACTERISTIC
-
NO_CONNECTION_FOUND
public static final BLECallbacks.Error NO_CONNECTION_FOUND
-
NULL_GATT_ON_CALLBACK
public static final BLECallbacks.Error NULL_GATT_ON_CALLBACK
-
NULL_CHAR_ON_CALLBACK
public static final BLECallbacks.Error NULL_CHAR_ON_CALLBACK
-
DATA_READ_FAILED
public static final BLECallbacks.Error DATA_READ_FAILED
-
DATA_WRITE_FAILED
public static final BLECallbacks.Error DATA_WRITE_FAILED
-
MODE_READ_FAILED
public static final BLECallbacks.Error MODE_READ_FAILED
-
MODE_WRITE_FAILED
public static final BLECallbacks.Error MODE_WRITE_FAILED
-
CHAR_WRITE_FAILED
public static final BLECallbacks.Error CHAR_WRITE_FAILED
-
CHAR_READ_FAILED
public static final BLECallbacks.Error CHAR_READ_FAILED
-
SET_NOTIFY_FAILED
public static final BLECallbacks.Error SET_NOTIFY_FAILED
-
SET_TX_NOTIFY_FAILED
public static final BLECallbacks.Error SET_TX_NOTIFY_FAILED
-
SET_OTA_CONTROL_NOTIFY_FAILED
public static final BLECallbacks.Error SET_OTA_CONTROL_NOTIFY_FAILED
-
SERVICE_DISCOVERY_FAILED
public static final BLECallbacks.Error SERVICE_DISCOVERY_FAILED
-
VERSION_READ_FAILED
public static final BLECallbacks.Error VERSION_READ_FAILED
-
CONNECT_FAILED
public static final BLECallbacks.Error CONNECT_FAILED
-
INSUFFICIENT_ENCRYPTION
public static final BLECallbacks.Error INSUFFICIENT_ENCRYPTION
-
SCAN_FAILED
public static final BLECallbacks.Error SCAN_FAILED
Method Detail
-
values
public static BLECallbacks.Error[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (BLECallbacks.Error c : BLECallbacks.Error.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BLECallbacks.Error valueOf(java.lang.String name)
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.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null