public interface PMTService extends SIInformation
Each object that implements the PMTService interface is identified by the combination of the following identifiers: original_network_id, transport_stream_id, service_id.
FROM_CACHE_ONLY, FROM_CACHE_OR_STREAM, FROM_STREAM_ONLY| Modifier and Type | Method and Description |
|---|---|
DvbLocator |
getDvbLocator()
Gets a DvbLocator that identifies this service
|
int |
getOriginalNetworkID()
Get the original network identification.
|
int |
getPcrPid()
Get the PCR pid.
|
int |
getServiceID()
Get the service identification.
|
int |
getTransportStreamID()
Get the transport stream identification.
|
SIRequest |
retrievePMTElementaryStreams(short retrieveMode,
Object appData,
SIRetrievalListener listener,
short[] somePMTDescriptorTags)
Retrieve information associated with the elementary streams which
compose this service from the Program Map Table (PMT).
|
fromActual, getDataSource, getDescriptorTags, getSIDatabase, getUpdateTime, retrieveDescriptors, retrieveDescriptorsDvbLocator getDvbLocator()
int getOriginalNetworkID()
int getTransportStreamID()
int getServiceID()
int getPcrPid()
SIRequest retrievePMTElementaryStreams(short retrieveMode, Object appData, SIRetrievalListener listener, short[] somePMTDescriptorTags) throws SIIllegalArgumentException
The SIIterator that is returned with the event when the request completes successfully will contain one or more objects that implement the PMTElementaryStream interface. If no matching object was found, the appropriate one of the following events is sent: SINotInCacheEvent SIObjectNotInTableEvent or SITableNotFoundEvent. This method will retrieve PMTElementaryStreams from the same sub-table version as this PMTService instance. If this version of the sub-table is no longer available, an SITableUpdatedEvent is returned.
retrieveMode - Mode of retrieval indicating whether the data should
be retrieved only from the cache (FROM_CACHE_ONLY),
from the cache if available and if not from the stream
(FROM_CACHE_OR_STREAM), or always from the stream
(FROM_STREAM_ONLY).appData - An object supplied by the application. This object will
be delivered to the listener when the request completes.
The application can use this objects for internal
communication purposes. If the application does not
need any application data, the parameter can be null.listener - SIRetrievalListener that will receive the event informing
about the completion of the request.somePMTDescriptorTags - A list of hints for descriptors (identified by their
tags) the application is interested in. If the array
contains -1 as its one and only element, the application
is interested in all descriptors. If somePMTDescriptorTags
is null, the application is not interested in descriptors.
All non applicable tag values are ignored.SIIllegalArgumentException - thrown if the retrieveMode is invalidSIRequest,
SIRetrievalListener,
PMTElementaryStreamCopyright © 2012 code4tv.com. All Rights Reserved.