public class ThrowingIllegalOperationHandler extends IllegalOperationHandler
IllegalOperationHandler. This class logs an error and returns BleIllegalOperationException if there
was no match between possessed and requested properties.messageCreator| Constructor and Description |
|---|
ThrowingIllegalOperationHandler(IllegalOperationMessageCreator messageCreator) |
| Modifier and Type | Method and Description |
|---|---|
BleIllegalOperationException |
handleMismatchData(android.bluetooth.BluetoothGattCharacteristic characteristic,
int neededProperties)
This method logs an error and returns a
BleIllegalOperationException. |
public ThrowingIllegalOperationHandler(IllegalOperationMessageCreator messageCreator)
public BleIllegalOperationException handleMismatchData(android.bluetooth.BluetoothGattCharacteristic characteristic, int neededProperties)
BleIllegalOperationException.handleMismatchData in class IllegalOperationHandlercharacteristic - the characteristic upon which the operation was requestedneededProperties - bitmask of properties needed by the operation