org.ocap.media
Interface NotPresentedMediaInterface
- All Known Implementing Classes:
- AlternativeMediaPresentationEvent
public interface NotPresentedMediaInterface
NotPresentedMediaInterface shall be implemented by classes which can report
failure to access media components. The interface provides an ability for an
application to find out the list of not presented service components and some
information about the reason for the failure.
getNotPresentedStreams
ElementaryStream[] getNotPresentedStreams()
- Returns:
- Returns the subset of explicitely (by Application request) or
implicitely (by the Player itself) service components that were selected and which
presentation was not possible.
getReason
int getReason(ElementaryStream es)
- Parameters:
es
- a not presented service component.
- Returns:
- Returns a bit mask of reasons that lead to the non presentation of
the given service component. The reasons are defined
in
AlternativeMediaPresentationReason
)interface.