public interface ToolIOInterfaceController
This interface can be implemented to request control of the Tool I/O Interface.
Pass the implementation of this interface toControllableResourceModel.requestControl(ToolIOInterfaceController)
to request control of the Tool I/O Interface. If granted control by the end user, a callback will be made with a
ToolIOInterfaceControlEvent
instance containing the resource.Modifier and Type | Method and Description |
---|---|
void |
onControlGranted(ToolIOInterfaceControlEvent event)
This callback method is called when the control is assigned to this URCap by the end user.
|
void |
onControlToBeRevoked(ToolIOInterfaceControlEvent event)
This callback method is called when the control is about to be revoked.
|
void onControlGranted(ToolIOInterfaceControlEvent event)
event
- This object holds information about the control granted event (containing the resource instance
which can now be controlled exclusively)void onControlToBeRevoked(ToolIOInterfaceControlEvent event)
This callback method is called when the control is about to be revoked.
The control can be revoked in the following situations:
event
- This object holds information related to the control about to be revoked event (containing the
resource instance)Copyright © 2021. All rights reserved.