|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AppAttributes
The AppAttributes
class is a mapping of
various information about a registered application. For applications
which are signalled in an AIT, the mapping between the values returned by
methods in this class and the fields and descriptors of the AIT shall be as
specified in the main body of the present document.
Instances of objects implementing this interface are immutable and populated before the instance is first returned to an application.
Field Summary | |
---|---|
static int |
DVB_HTML_application
The DVB registered value for all DVB-HTML applications. |
static int |
DVB_J_application
The DVB registered value for all DVB-J applications. |
Method Summary | |
---|---|
AppIcon |
getAppIcon()
This method returns an object encapsulating the information about the icon(s) for the application. |
AppID |
getIdentifier()
This method returns the application identifier. |
boolean |
getIsServiceBound()
This method determines whether the application is bound to a single service. |
java.lang.String |
getName()
This method returns the name of the application. |
java.lang.String |
getName(java.lang.String iso639code)
This method returns the name of the application in the language which is specified by the parameter passed as an argument. |
java.lang.String[][] |
getNames()
This method returns all the available names for the application together with their ISO 639 language code. |
int |
getPriority()
This method returns the priority of the application. |
java.lang.String[] |
getProfiles()
This method returns those minimum profiles required for the application to execute. |
java.lang.Object |
getProperty(java.lang.String index)
The following method is included for properties that do not have explicit property accessors. |
Locator |
getServiceLocator()
This method returns the locator of the Service describing the application. |
int |
getType()
This method returns the type of the application (as registered by DVB). |
int[] |
getVersions(java.lang.String profile)
This method returns an array of integers containing the version number of the specification required to run this application at the specified profile. |
boolean |
isStartable()
This method determines whether the application is startable or not. |
boolean |
isVisible()
This method determines whether the application is marked as being visible to users. |
Field Detail |
---|
static final int DVB_J_application
static final int DVB_HTML_application
Method Detail |
---|
int getType()
java.lang.String getName()
java.lang.String getName(java.lang.String iso639code) throws LanguageNotAvailableException
iso639code
- the specified language, encoded as per ISO 639.
LanguageNotAvailableException
- if the name is not available in the language specified or if the parameter passed is nulljava.lang.String[][] getNames()
java.lang.String[] getProfiles()
For example, for implementations conforming to the first version of the specification, the translation from AIT signaling values to strings shall be as follows:
int[] getVersions(java.lang.String profile) throws IllegalProfileParameterException
profile
- a profile encoded as defined in the clause "Profile and
version properties" in the main body of the present document.
e.g. mhp.profile.interactive_broadcast for the interactive
broadcast profile.
IllegalProfileParameterException
- thrown if the profile specified is not one of the minimum
profiles required for the application to execute or if the
parameter passed in is nullboolean getIsServiceBound()
boolean isStartable()
The value returned by this method does not depend on whether the application is actually running or not.
AppID getIdentifier()
AppIcon getAppIcon()
int getPriority()
Locator getServiceLocator()
java.lang.Object getProperty(java.lang.String index)
index
- a property name
boolean isVisible()
true
if this application is marked as being
visible to users, false
otherwise.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |