public static class TaskTimeoutRequestFilter.TaskTimeoutRequestEvent extends Event
TaskTimeoutRequestFilter.onEvent(TaskTimeoutRequestEvent)
that provides
information about the BleTask
that will soon be executed.Constructor and Description |
---|
TaskTimeoutRequestEvent() |
Modifier and Type | Method and Description |
---|---|
java.util.UUID |
charUuid()
The ble characteristic
UUID associated with the task if BleTask.usesCharUuid()
returns true , or Uuids.INVALID otherwise. |
java.util.UUID |
descUuid()
The ble descriptor
UUID associated with the task, or Uuids.INVALID otherwise. |
BleDevice |
device()
The
BleDevice associated with the task() , or BleDevice.NULL if
task() BleTask.isDeviceSpecific() does not return true . |
java.lang.String |
macAddress()
Convience to return the mac address of
device() . |
BleManager |
manager()
Returns the manager.
|
BleServer |
server()
The
BleServer associated with the task() , or BleServer.NULL if
task() BleTask.isServerSpecific() does not return true . |
BleTask |
task()
The type of task for which we are requesting a timeout.
|
java.lang.String |
toString() |
public BleDevice device()
BleDevice
associated with the task()
, or BleDevice.NULL
if
task()
BleTask.isDeviceSpecific()
does not return true
.public java.lang.String macAddress()
device()
.public BleServer server()
BleServer
associated with the task()
, or BleServer.NULL
if
task()
BleTask.isServerSpecific()
does not return true
.public BleManager manager()
public BleTask task()
public java.util.UUID charUuid()
UUID
associated with the task if BleTask.usesCharUuid()
returns true
, or Uuids.INVALID
otherwise.public java.util.UUID descUuid()
UUID
associated with the task, or Uuids.INVALID
otherwise.
For now only associated with BleTask.TOGGLE_NOTIFY
.public java.lang.String toString()
toString
in class java.lang.Object