public interface OpModeManagerNotifier
OpModeManagerNotifier.Notifications
is an interface by which interested
parties can receive notification of the coming and going of opmodes.OpModeManagerImpl#getOpModeManagerOfActivity(Activity)
Modifier and Type | Interface and Description |
---|---|
static interface |
OpModeManagerNotifier.Notifications
OpModeManagerNotifier.Notifications can be used to receive notifications of the comings
and goings of opmodes in the system. |
Modifier and Type | Method and Description |
---|---|
OpMode |
registerListener(OpModeManagerNotifier.Notifications listener)
Registers an object as explicitly interested in receiving notifications as
to the coming and going of opmodes.
|
void |
unregisterListener(OpModeManagerNotifier.Notifications listener)
Unregisters a previously registered listener.
|
OpMode registerListener(OpModeManagerNotifier.Notifications listener)
listener
- the object which is to receive notificationsunregisterListener(Notifications)
void unregisterListener(OpModeManagerNotifier.Notifications listener)
listener
- the listener to be unregistered.