org.ocap.media.MediaAccessAuthorization.html Maven / Gradle / Ivy
MediaAccessAuthorization
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 MediaAccessAuthorization
public interface MediaAccessAuthorization
A
object represents the presentation authorization
given by a registered MediaAccessHandler for a specific A/V content.
When the MediaAccessAuthorization
is
triggered by the OCAP implementation, it returns a
MediaAccessHandler
to indicate
which service components should not be presented, if any, with a list of reasons
for denied access (use constant defined in MediaAccessAuthorization
AlternativeMediaPresentationReason
)
per service component.
Method Summary | |
---|---|
int |
getDenialReasons(ElementaryStream es)
Return a bit mask of denial reasons for the given service component. |
java.util.Enumeration |
getDeniedElementaryStreams()
Returns the list of service components whose presentation has not been authorized by the . |
boolean |
isFullAuthorization()
Returns true if the presentation of all service components is authorized. |
Method Detail |
---|
isFullAuthorization
boolean isFullAuthorization()
- Returns true if the presentation of all service components is authorized. False otherwise.
- Returns:
- true if the presentation of all service components is authorized. False otherwise.
getDeniedElementaryStreams
java.util.Enumeration getDeniedElementaryStreams()
- Returns the list of service components whose presentation has not been authorized
by the
.MediaAccessHandler
- Returns:
- an Enumeration of
whose presentation has not been authorized by theElementaryStream
.MediaAccessHandler
getDenialReasons
int getDenialReasons(ElementaryStream es)
- Return a bit mask of denial reasons for the given service component.
Denial reasons are defined in
AlternativeMediaPresentationReason
- Parameters:
es
- the service component the
refused presentation.MediaAccessHandler
- Returns:
- a bit mask of reasons for the denial. This bit mask is made of
.AlternativeMediaPresentationReason
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |