AlternativeMediaPresentationEvent

Overview | Package | Class | Use | Tree | Deprecated | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.ocap.media
Class AlternativeMediaPresentationEvent

    java.lang.Object
      java.util.EventObject
          javax.media.ControllerEvent
              org.ocap.media.MediaPresentationEvent
                  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.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD