|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 |
public static final int DVB_J_application
public static final int DVB_HTML_application
Method Detail |
public int getType()
public java.lang.String getName()
public 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 nullpublic java.lang.String[][] getNames()
public java.lang.String[] getProfiles()
java.lang.System.getProperty
method to query if a profile is supported by this platform. For example, for implementations conforming to the first version of the specification, the translation from AIT signaling values to strings shall be as follows:
public int[] getVersions(java.lang.String profile) throws IllegalProfileParameterException
profile
- a profile encoded as described in the main body of
the present document for use with java.lang.System.getProperty
.
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 nullpublic boolean getIsServiceBound()
public boolean isStartable()
The value returned by this method does not depend on whether the application is actually running or not.
public AppID getIdentifier()
public AppIcon getAppIcon()
public int getPriority()
public Locator getServiceLocator()
public java.lang.Object getProperty(java.lang.String index)
index
- a property name
public 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 |