T - the type of data for a write-only action,
or Void for an execute action.VirtualDevice.ActionCallback@Deprecated
public static interface VirtualDevice.Callable<T>
| Modifier and Type | Method and Description |
|---|---|
void |
call(VirtualDevice virtualDevice,
T data)
Deprecated.
The method called for handling a device model action.
|
void call(VirtualDevice virtualDevice, T data)
Void.
The client library will pass null as the data
parameter value if the action is executable. For a write-only action,
the generic type should match the expected data type of the action.virtualDevice - the VirtualDevice on which the action is
being invokeddata - the data