org.dvb.tvanytime.resolution
Interface ResolutionProviderInformation


public interface ResolutionProviderInformation

An interface encapsulting a set of Resolution Authority Records (RARs) for one Service Provider. This is the information carried in one iteration of the Resolution Provider loop of the RNT (except that the RARs may have been filtered based on the required resolution sources). RARs which require the scheduled download of CRI data are not included unless the platform has successfuly downloaded a valid data set.

See Also:
ContentReferencingManager

Method Summary
 int getContextId()
          Get the contextId of this ResolutionProviderInformation.
 int getContextIdType()
          Get the contextIdType of this ResolutionProviderInformation.
 java.lang.String[] getCRIDAuthorities()
          List the CRID Authorities supported by this ResolutionProviderInformation.
 int[] getCRIDAuthorityPolicies()
          List the CRID_authority_policy fields for the CRID Authorities supported by this ResolutionProviderInformation, as signalled in the RNT.
 java.lang.String getResolutionProviderName()
          Get the name of the Resolution Provider.
 int getResolutionSources()
          Get the resolution sources supported by this ResolutionProviderInformation.
 boolean isComplete(java.lang.String CRIDAuthority)
          Test whether this ResolutionProviderInformation references a complete set of CRI data for the specified CRID Authority.
 

Method Detail

getContextId

int getContextId()
Get the contextId of this ResolutionProviderInformation.

Returns:
the contextId or -1 if this is unspecified

getContextIdType

int getContextIdType()
Get the contextIdType of this ResolutionProviderInformation.

Returns:
the contextIdType or -1 if this is unspecified

getResolutionSources

int getResolutionSources()
Get the resolution sources supported by this ResolutionProviderInformation.

Returns:
a bitwise OR of ContentReferencingManager.RESOLVE_DVB_NO_TUNING, ContentReferencingManager.RESOLVE_DVB_WITH_TUNING and ContentReferencingManager.RESOLVE_IP

getResolutionProviderName

java.lang.String getResolutionProviderName()
Get the name of the Resolution Provider.

Returns:
the Resolution Provider Name

getCRIDAuthorities

java.lang.String[] getCRIDAuthorities()
List the CRID Authorities supported by this ResolutionProviderInformation.

Returns:
an array of Strings carrying CRID Authority names

getCRIDAuthorityPolicies

int[] getCRIDAuthorityPolicies()
List the CRID_authority_policy fields for the CRID Authorities supported by this ResolutionProviderInformation, as signalled in the RNT.

Returns:
an array carrying the value of the CRID_authority_policy field for each CRID authority.

isComplete

boolean isComplete(java.lang.String CRIDAuthority)
Test whether this ResolutionProviderInformation references a complete set of CRI data for the specified CRID Authority.

Parameters:
CRIDAuthority - the CRID Authority of interest
Returns:
true if a complete set of CRI data is referenced