org.ocap.media
Interface ClosedCaptioningListener

All Superinterfaces:
java.util.EventListener

public interface ClosedCaptioningListener
extends java.util.EventListener

This is a listener interface to receive a notification when the state of closed-captioning has changed or a new closed-captioning service (C1 to C4, T1 to T4) is selected.

A listener instance is added to a ClosedCaptioningControl instance via the ClosedCaptioningControl.addClosedCaptioningListener(org.ocap.media.ClosedCaptioningListener) method.


Method Summary
 void ccStatusChanged(ClosedCaptioningEvent event)
          This method shall be called when a closed-captioning state or a captioning service of the JMF Player that is controlled by the ClosedCaptioningControl instance has changed.
 

Method Detail

ccStatusChanged

void ccStatusChanged(ClosedCaptioningEvent event)
This method shall be called when a closed-captioning state or a captioning service of the JMF Player that is controlled by the ClosedCaptioningControl instance has changed. Note that this method is not called when an existence of an actual caption channel packet in the MPEG video header or line 21 data has changed. This method is not called when an Caption Service Descriptor has changed.

Parameters:
event - The closed-captioning status event.
See Also:
ClosedCaptioningEvent