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