|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.
MediaAccessHandler
,
AlternativeMediaPresentationReason
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 |
---|
boolean isFullAuthorization()
java.util.Enumeration getDeniedElementaryStreams()
MediaAccessHandler
.
ElementaryStream
whose
presentation has not been authorized by the MediaAccessHandler
.int getDenialReasons(ElementaryStream es)
AlternativeMediaPresentationReason
es
- the service component the MediaAccessHandler
refused presentation.
AlternativeMediaPresentationReason
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |