org.dvb.media.SubtitleAvailableEvent Maven / Gradle / Ivy
The newest version!
package org.dvb.media;
import org.davic.media.SubtitlingLanguageControl;
/**
* Report that subtitles are available to be presented having been unavailable.
* This event is not generated on service selection or other forms of 'zapping'.
* Its generation is restricted to changes in the composition of the subtitle
* aspects of the same broadcast stream.
*/
public class SubtitleAvailableEvent
extends java.util.EventObject {
/**
* Constructor.
*
* @param source the source of the event. The platform shall always pass
* in the JMF player presenting the subtitles.
*/
public SubtitleAvailableEvent(Object source)
{
super(source);
}
/**
* Return the JMF player which is the source of the event.
*
* @return the source of the event. This shall be the JMF player passed
* in to the constructor of the event.
*/
public java.lang.Object getSource()
{
return null;
}
}