|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ocap.media.MediaPresentationEvaluationTrigger
public class MediaPresentationEvaluationTrigger
This class represents possible reasons to trigger an evaluation that leads
to the generation of an
or a
AlternativeMediaPresentationEvent
.
An application which has a MonitorAppPermission("mediaAccess") can
use predefined NormalMediaPresentationEvent
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.
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 |
---|
public static final MediaPresentationEvaluationTrigger PMT_CHANGED
MediaPresentationEvaluationTrigger
indicating that the
broadcast PMT has changed.
public static final MediaPresentationEvaluationTrigger RESOURCE_AVAILABILITY_CHANGED
MediaPresentationEvaluationTrigger
indicating that access
to a resource has changed : lost or free resource.
public static final MediaPresentationEvaluationTrigger NEW_SELECTED_SERVICE
MediaPresentationEvaluationTrigger
indicating that a new
service has been selected.
public static final MediaPresentationEvaluationTrigger NEW_SELECTED_SERVICE_COMPONENTS
MediaPresentationEvaluationTrigger
indicating that new
service components have been selected via JMF control or via ServiceContext.
public static final MediaPresentationEvaluationTrigger POWER_STATE_CHANGED
MediaPresentationEvaluationTrigger
indicating that the power
state has changed, e.g., switch to Software Standby.
public static final MediaPresentationEvaluationTrigger CURRENT_PROGRAM_EVENT_CHANGED
MediaPresentationEvaluationTrigger
indicating that current
program event has changed.
public static final MediaPresentationEvaluationTrigger USER_RATING_CHANGED
MediaPresentationEvaluationTrigger
indicating that the user
preference for rating has been changed.
public static final MediaPresentationEvaluationTrigger PROGRAM_EVENT_RATING_CHANGED
MediaPresentationEvaluationTrigger
indicating that program event
rating has changed.
Constructor Detail |
---|
protected MediaPresentationEvaluationTrigger()
Method Detail |
---|
public boolean isOptional()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |