public class BleDisconnectedException extends BleException
BluetoothGatt.GATT_SUCCESS state).| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
bluetoothDeviceAddress |
int |
state |
static int |
UNKNOWN_STATUS
Set when the state is not available, for example when the adapter has been switched off.
|
| Constructor and Description |
|---|
BleDisconnectedException()
Deprecated.
In general, there's no place in a public API that requires you to instantiate this exception directly.
If you use it anyway, please switch to
BleDisconnectedException(String, int) |
BleDisconnectedException(java.lang.String bluetoothDeviceAddress)
Deprecated.
In general, there's no place in a public API that requires you to instantiate this exception directly.
If you use it anyway, please switch to
BleDisconnectedException(String, int) or don't use it. |
BleDisconnectedException(java.lang.String bluetoothDeviceAddress,
int status) |
BleDisconnectedException(java.lang.Throwable throwable,
java.lang.String bluetoothDeviceAddress)
Deprecated.
In general, there's no place in a public API that requires you to instantiate this exception directly.
If you use it anyway, please switch to
BleDisconnectedException(Throwable, String, int) |
BleDisconnectedException(java.lang.Throwable throwable,
java.lang.String bluetoothDeviceAddress,
int status) |
| Modifier and Type | Method and Description |
|---|---|
static BleDisconnectedException |
adapterDisabled(java.lang.String macAddress) |
public static final int UNKNOWN_STATUS
public final java.lang.String bluetoothDeviceAddress
public final int state
@Deprecated public BleDisconnectedException()
BleDisconnectedException(String, int)@Deprecated
public BleDisconnectedException(java.lang.Throwable throwable,
java.lang.String bluetoothDeviceAddress)
BleDisconnectedException(Throwable, String, int)@Deprecated public BleDisconnectedException(java.lang.String bluetoothDeviceAddress)
BleDisconnectedException(String, int) or don't use it.public BleDisconnectedException(java.lang.Throwable throwable,
java.lang.String bluetoothDeviceAddress,
int status)
public BleDisconnectedException(java.lang.String bluetoothDeviceAddress,
int status)
public static BleDisconnectedException adapterDisabled(java.lang.String macAddress)