public interface RobotArmingStateNotifier
RobotUsbModule
Modifier and Type | Interface and Description |
---|---|
static class |
RobotArmingStateNotifier.ARMINGSTATE |
static interface |
RobotArmingStateNotifier.Callback
The Callback interface can be used to receive notifications when a module changes
its arming state.
|
Modifier and Type | Method and Description |
---|---|
RobotArmingStateNotifier.ARMINGSTATE |
getArmingState()
Returns the current arming state of the object.
|
SerialNumber |
getSerialNumber()
Returns the serial number of this USB module
|
void |
registerCallback(RobotArmingStateNotifier.Callback callback,
boolean doInitialCallback)
Registers a callback for arming state notifications from this module.
|
void |
unregisterCallback(RobotArmingStateNotifier.Callback callback)
Unregister a callback which has been registered for notifications with this module.
|
SerialNumber getSerialNumber()
RobotArmingStateNotifier.ARMINGSTATE getArmingState()
void registerCallback(RobotArmingStateNotifier.Callback callback, boolean doInitialCallback)
callback
- unregisterCallback(Callback)
void unregisterCallback(RobotArmingStateNotifier.Callback callback)
callback
- registerCallback(Callback, boolean)