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

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

There is a newer version: 1.3.1
Show newest version






MediaPresentationEvaluationTrigger














org.ocap.media
Class MediaPresentationEvaluationTrigger

java.lang.Object
  extended by org.ocap.media.MediaPresentationEvaluationTrigger

public class MediaPresentationEvaluationTrigger
extends java.lang.Object

This class represents possible reasons to trigger an evaluation that leads to the generation of an AlternativeMediaPresentationEvent or a NormalMediaPresentationEvent. An application which has a MonitorAppPermission("mediaAccess") can use predefined MediaPresentationEvaluationTrigger or define its own MediaPresentationEvaluationTrigger and indicate to the implementation that presentation conditions have changed through the MediaAccessConditionControl.

MANDATORY triggers: OCAP implementation SHALL be able to generate such trigger independently of the monitor application. A monitor application cannot generate such triggers exclusively.
OPTIONAL triggers: such triggers MAY be generated by the OCAP implementation. A monitor application can exclusively generate such triggers.

See Also:
MediaAccessHandler

Field Summary
static MediaPresentationEvaluationTrigger CURRENT_PROGRAM_EVENT_CHANGED
          MediaPresentationEvaluationTrigger indicating that current program event has changed.
static MediaPresentationEvaluationTrigger NEW_SELECTED_SERVICE
          MediaPresentationEvaluationTrigger indicating that a new service has been selected.
static MediaPresentationEvaluationTrigger NEW_SELECTED_SERVICE_COMPONENTS
          MediaPresentationEvaluationTrigger indicating that new service components have been selected via JMF control or via ServiceContext.
static MediaPresentationEvaluationTrigger PMT_CHANGED
          MediaPresentationEvaluationTrigger indicating that the broadcast PMT has changed.
static MediaPresentationEvaluationTrigger POWER_STATE_CHANGED
          MediaPresentationEvaluationTrigger indicating that the power state has changed, e.g., switch to Software Standby.
static MediaPresentationEvaluationTrigger PROGRAM_EVENT_RATING_CHANGED
          MediaPresentationEvaluationTrigger indicating that program event rating has changed.
static MediaPresentationEvaluationTrigger RESOURCE_AVAILABILITY_CHANGED
          MediaPresentationEvaluationTrigger indicating that access to a resource has changed : lost or free resource.
static MediaPresentationEvaluationTrigger USER_RATING_CHANGED
          MediaPresentationEvaluationTrigger indicating that the user preference for rating has been changed.
 
Constructor Summary
protected MediaPresentationEvaluationTrigger()
          Constructs a MediaPresentationEvaluationTrigger.
 
Method Summary
 boolean isOptional()
          Returns true if the trigger can be generated either by the OCAP implementation or by the Monitor Application.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PMT_CHANGED

public static final MediaPresentationEvaluationTrigger PMT_CHANGED
MediaPresentationEvaluationTrigger indicating that the broadcast PMT has changed.
MANDATORY trigger


RESOURCE_AVAILABILITY_CHANGED

public static final MediaPresentationEvaluationTrigger RESOURCE_AVAILABILITY_CHANGED
MediaPresentationEvaluationTrigger indicating that access to a resource has changed : lost or free resource.
MANDATORY trigger


NEW_SELECTED_SERVICE

public static final MediaPresentationEvaluationTrigger NEW_SELECTED_SERVICE
MediaPresentationEvaluationTrigger indicating that a new service has been selected.
MANDATORY trigger


NEW_SELECTED_SERVICE_COMPONENTS

public static final MediaPresentationEvaluationTrigger NEW_SELECTED_SERVICE_COMPONENTS
MediaPresentationEvaluationTrigger indicating that new service components have been selected via JMF control or via ServiceContext.
MANDATORY trigger


POWER_STATE_CHANGED

public static final MediaPresentationEvaluationTrigger POWER_STATE_CHANGED
MediaPresentationEvaluationTrigger indicating that the power state has changed, e.g., switch to Software Standby.
OPTIONAL trigger


CURRENT_PROGRAM_EVENT_CHANGED

public static final MediaPresentationEvaluationTrigger CURRENT_PROGRAM_EVENT_CHANGED
MediaPresentationEvaluationTrigger indicating that current program event has changed.
OPTIONAL trigger


USER_RATING_CHANGED

public static final MediaPresentationEvaluationTrigger USER_RATING_CHANGED
MediaPresentationEvaluationTrigger indicating that the user preference for rating has been changed.
OPTIONAL trigger


PROGRAM_EVENT_RATING_CHANGED

public static final MediaPresentationEvaluationTrigger PROGRAM_EVENT_RATING_CHANGED
MediaPresentationEvaluationTrigger indicating that program event rating has changed.
OPTIONAL trigger

Constructor Detail

MediaPresentationEvaluationTrigger

protected MediaPresentationEvaluationTrigger()
Constructs a MediaPresentationEvaluationTrigger.

Method Detail

isOptional

public boolean isOptional()
Returns true if the trigger can be generated either by the OCAP implementation or by the Monitor Application. Returns false if the trigger is generated by the OCAP implementation.

Returns:
true if the trigger can be generated either by the implementation or by the Monitor Application.
false if the trigger is generated by the OCAP implementation.






© 2015 - 2024 Weber Informatics LLC | Privacy Policy