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

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

There is a newer version: 1.3.1
Show newest version






MediaAccessConditionControl














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 MediaPresentationEvaluationTrigger or an application defined MediaPresentationEvaluationTrigger object.
Throws:
java.lang.SecurityException - if the caller does not have MonitorAppPermission("mediaAccess")
See Also:
MediaPresentationEvaluationTrigger, MediaAccessHandler






© 2015 - 2024 Weber Informatics LLC | Privacy Policy