public static enum LDSDKError.ErrorCode extends java.lang.Enum<LDSDKError.ErrorCode>
Modifier and Type | Method and Description |
---|---|
static LDSDKError.ErrorCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LDSDKError.ErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LDSDKError.ErrorCode INTERNAL_ERROR
public static final LDSDKError.ErrorCode BLUETOOTH_CONNECTION_TIMEOUT
public static final LDSDKError.ErrorCode BLUETOOTH_CONNECTION_ERROR
public static final LDSDKError.ErrorCode BLUETOOTH_UNSUPPORTED_FIRMWARE_VERSION
public static final LDSDKError.ErrorCode BLUETOOTH_UNKNOWN_SERVICE_UUID
public static final LDSDKError.ErrorCode BLUETOOTH_MISSING_CHARACTERISTICS
public static final LDSDKError.ErrorCode BLUETOOTH_INVALID_CHARACTERISTIC_PROPERTIES
public static LDSDKError.ErrorCode[] values()
for (LDSDKError.ErrorCode c : LDSDKError.ErrorCode.values()) System.out.println(c);
public static LDSDKError.ErrorCode 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