|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MediaAccessConditionControl
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 |
---|
void conditionHasChanged(MediaPresentationEvaluationTrigger trigger)
Registered {link MediaAccessHandler}
will be called.
trigger
- any of the optional trigger defined in
MediaPresentationEvaluationTrigger
or an application
defined MediaPresentationEvaluationTrigger object.
java.lang.SecurityException
- if the caller
does not have MonitorAppPermission("mediaAccess")MediaPresentationEvaluationTrigger
,
MediaAccessHandler
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |