org.ocap.media
Class AlternativeMediaPresentationEvent

java.lang.Object
  extended by java.util.EventObject
      extended by javax.media.ControllerEvent
          extended by org.ocap.media.MediaPresentationEvent
              extended by org.ocap.media.AlternativeMediaPresentationEvent
All Implemented Interfaces:
Serializable, MediaEvent

public abstract class AlternativeMediaPresentationEvent
extends MediaPresentationEvent

AlternativeMediaPresentationEvent is a JMF event generated to indicate that an "alternative" content is presented during the media presentation of a service.

Alternative content is defined as content that is not actually part of the service.

See Also:
Serialized Form

Method Summary
 int getReason()
          Gets the reason alternative content is being presented.
 
Methods inherited from class org.ocap.media.MediaPresentationEvent
getLocators, isSourceDigital
 
Methods inherited from class javax.media.ControllerEvent
getSource, getSourceController
 
Methods inherited from class java.util.EventObject
toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getReason

public int getReason()
Gets the reason alternative content is being presented.

Returns:
Returns the reason that lead to the non presentation of the given service component. Possible reasons are defined in AlternativeMediaPresentationReason) interface.