Java* Media Framework Tutorial - Lesson 1BDetecting Media EventsThe ControllerListener interface tracks media events and makes whatever adjustments it has been instructed to. To add a ControllerListener to an application use:
The Controller will then call MyPlayer.contollerUpdate() and supply a ControllerEvent whenever a Player changes state. The following events indicate two relevant state changes:
For more information on state changes, see Managing Player States
This page was last updated on Feb 11th, 1997.
|