org.ocap.media.MediaAccessConditionControl.html Maven / Gradle / Ivy
MediaAccessConditionControl
Overview
Package
Class
Tree
Deprecated
Index
Help
PREV CLASS
NEXT CLASS
FRAMES
NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD
DETAIL: FIELD | CONSTR | METHOD
org.ocap.media
Interface MediaAccessConditionControl
- All Superinterfaces:
- javax.media.Control
public interface MediaAccessConditionControl
- extends javax.media.Control
This interface allows an application to notify that conditions of media
presentation in a running JMF player have been modified, and so the check
for media presentation must be done.
Instance of the MediaAccessConditionControl interface shall be obtained
via a Controller.getControl(java.lang.String)
and a
Controller.getControls()
method by all applications. But
MonitorAppPermission(?mediaAccess?) is necessary to call methods in this interface.
Method Summary | |
---|---|
void |
conditionHasChanged(MediaPresentationEvaluationTrigger trigger)
Notifies the player that the conditions to authorize the service presentation have been modified, and so a new check must be done for the specified player. |
Methods inherited from interface javax.media.Control |
---|
getControlComponent |
Method Detail |
---|
conditionHasChanged
void conditionHasChanged(MediaPresentationEvaluationTrigger trigger)
- Notifies the player that the conditions to authorize the service
presentation have been modified, and so a new check must be done for
the specified player.
Registered
{link MediaAccessHandler}
will be called.- Parameters:
trigger
- any of the optional trigger defined in
or an application defined MediaPresentationEvaluationTrigger object.MediaPresentationEvaluationTrigger
- Throws:
java.lang.SecurityException
- if the caller does not have MonitorAppPermission("mediaAccess")- See Also:
MediaPresentationEvaluationTrigger
,MediaAccessHandler
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |