public final class FlicDisconnectError
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
BACKEND_UNREACHABLE
The backend is unreachable during verification.
|
static int |
BUTTON_IS_PRIVATE
Button was most likely private and we don't have the correct keys to connect to it.
|
static int |
CONNECTION_FAILED
Something failed with or during the GATT service discovery.
|
static int |
CRYPTOGRAPHIC_FAILURE
Someone is most likely tampering with the connection.
|
static int |
INVALID_BUTTON
The backend could not find the button in its database.
|
static int |
INVALID_CREDENTIALS
App Id / App Secret is invalid.
|
static int |
NO_ERROR
The button disconnected with no specific error, i.e. either the disconnection was forced by the user or the connection link was lost.
|
static int |
REBONDING
During the pairing process, if the button is already present in the Android device but not the other way around, we have to reconnect it in order to first remove the bonding information.
|
static int |
UNKNOWN
Unknown HTTP response from backend.
|
static int |
UNKNOWN_DATA_RECEIVED
Illegaly formed data was received either from the backend or the button.
|
public static final int NO_ERROR
public static final int CONNECTION_FAILED
public static final int UNKNOWN_DATA_RECEIVED
public static final int BACKEND_UNREACHABLE
public static final int INVALID_CREDENTIALS
public static final int BUTTON_IS_PRIVATE
public static final int CRYPTOGRAPHIC_FAILURE
public static final int REBONDING
public static final int INVALID_BUTTON
public static final int UNKNOWN