QUICK NAVIGATOR
PRODUCTS
TECHNOLOGIES
DEVELOPMENT TOOLS
* News
* Java Media Framework
* Intel Animation for Java
* Intel Spatial Audio for Java
* Runtime Software License
* SDK Software License
* System Requirements
* Download Area
* Documentation Online
* Gallery
* General FAQ
* Support Information

[INTEL NAVIGATION HEADER]

Java* Media Framework Tutorial - Lesson 1B

Detecting Media Events

The ControllerListener interface tracks media events and makes whatever adjustments it has been instructed to.

To add a ControllerListener to an application use:

myPlayer.addControllerListener(this);

The Controller will then call MyPlayer.contollerUpdate() and supply a ControllerEvent whenever a Player changes state. The following events indicate two relevant state changes:

PrefetchCompleteEvent

RealizeCompleteEvent

For more information on state changes, see Managing Player States

Previous Lesson Tutorial Contents Next Lesson

View Source

 

This page was last updated on Feb 11th, 1997.

Legal Stuff

 

Free Web Hosting