All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.ocap.media.MediaPresentationEvent.html Maven / Gradle / Ivy

There is a newer version: 1.3.1
Show newest version






MediaPresentationEvent














org.ocap.media
Class MediaPresentationEvent

java.lang.Object
  extended by java.util.EventObject
      extended by javax.media.ControllerEvent
          extended by javax.media.TransitionEvent
              extended by org.ocap.media.MediaPresentationEvent
All Implemented Interfaces:
java.io.Serializable, javax.media.MediaEvent
Direct Known Subclasses:
AlternativeMediaPresentationEvent, NormalMediaPresentationEvent

public abstract class MediaPresentationEvent
extends javax.media.TransitionEvent

MediaPresentationEvent is a JMF event used as the parent class of events indicating dynamic changes to the presentation of media components.

This event provides the trigger that leads to the generation of this event.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
protected MediaPresentationEvent(javax.media.Controller from, int previous, int current, int target)
          Constructor of MediaPresentationEvent
 
Method Summary
 ElementaryStream[] getPresentedStreams()
           
 OcapLocator getSourceURL()
           
 MediaPresentationEvaluationTrigger getTrigger()
           
 boolean isSourceDigital()
           
 
Methods inherited from class javax.media.TransitionEvent
getCurrentState, getPreviousState, getTargetState
 
Methods inherited from class javax.media.ControllerEvent
getSource, getSourceController
 
Methods inherited from class java.util.EventObject
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MediaPresentationEvent

protected MediaPresentationEvent(javax.media.Controller from,
                                 int previous,
                                 int current,
                                 int target)
Constructor of MediaPresentationEvent

See Also:
TransitionEvent
Method Detail

isSourceDigital

public boolean isSourceDigital()
Returns:
Returns true if the presented source is digital, false otherwise.

getSourceURL

public OcapLocator getSourceURL()
Returns:
Returns the URL of the source that is presented.

getPresentedStreams

public ElementaryStream[] getPresentedStreams()
Returns:
Returns the service components that are currently presented. If no service components is presented or the source is analog, null is returned.

getTrigger

public MediaPresentationEvaluationTrigger getTrigger()
Returns:
Returns the trigger that leads to the generation of a MediaPresentationEvent.
See Also:
MediaPresentationEvaluationTrigger






© 2015 - 2024 Weber Informatics LLC | Privacy Policy