-
- All Implemented Interfaces:
-
java.io.Serializable
public class BleDisconnectedException extends BleException
Exception emitted when the BLE link has been disconnected either when the connection was already established or was in pending connection state. This state is expected when the connection was released as a part of expected behavior (with GATT_SUCCESS state).
-
-
Field Summary
Fields Modifier and Type Field Description public final static intUNKNOWN_STATUSpublic final StringbluetoothDeviceAddresspublic final intstate
-
Constructor Summary
Constructors Constructor Description BleDisconnectedException()BleDisconnectedException(Throwable throwable, String bluetoothDeviceAddress)BleDisconnectedException(String bluetoothDeviceAddress)BleDisconnectedException(Throwable throwable, String bluetoothDeviceAddress, int status)BleDisconnectedException(String bluetoothDeviceAddress, int status)
-
Method Summary
Modifier and Type Method Description static BleDisconnectedExceptionadapterDisabled(String macAddress)-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, setStackTrace, toString -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
BleDisconnectedException
BleDisconnectedException()
-
BleDisconnectedException
BleDisconnectedException(Throwable throwable, String bluetoothDeviceAddress)
-
BleDisconnectedException
BleDisconnectedException(String bluetoothDeviceAddress)
-
BleDisconnectedException
BleDisconnectedException(Throwable throwable, String bluetoothDeviceAddress, int status)
-
BleDisconnectedException
BleDisconnectedException(String bluetoothDeviceAddress, int status)
-
-
Method Detail
-
adapterDisabled
static BleDisconnectedException adapterDisabled(String macAddress)
-
-
-
-