-
- All Implemented Interfaces:
-
java.io.Serializable
public class BleGattException extends BleException
Exception emitted when the BLE link has been interrupted as a result of an error. The exception contains detailed explanation of the error source (type of operation) and the code proxied from the Android system.
-
-
Field Summary
Fields Modifier and Type Field Description public final static intUNKNOWN_STATUSprivate final intstatusprivate final BleGattOperationTypebleGattOperationType
-
Constructor Summary
Constructors Constructor Description BleGattException(int status, BleGattOperationType bleGattOperationType)BleGattException(BluetoothGatt gatt, int status, BleGattOperationType bleGattOperationType)BleGattException(BluetoothGatt gatt, BleGattOperationType bleGattOperationType)
-
Method Summary
Modifier and Type Method Description intgetStatus()BleGattOperationTypegetBleGattOperationType()StringgetMacAddress()-
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
-
BleGattException
BleGattException(int status, BleGattOperationType bleGattOperationType)
-
BleGattException
BleGattException(BluetoothGatt gatt, int status, BleGattOperationType bleGattOperationType)
-
BleGattException
BleGattException(BluetoothGatt gatt, BleGattOperationType bleGattOperationType)
-
-
Method Detail
-
getStatus
int getStatus()
-
getBleGattOperationType
BleGattOperationType getBleGattOperationType()
-
getMacAddress
String getMacAddress()
-
-
-
-