public interface AppAttributes
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.
Modifier and Type | Field and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
String |
getName()
This method returns the name of the application.
|
String |
getName(String iso639code)
This method returns the name of the application in the language which
is specified by the parameter passed as an argument.
|
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.
|
String[] |
getProfiles()
This method returns those minimum profiles required for the application
to execute.
|
Object |
getProperty(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(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.
|
static final int DVB_J_application
static final int DVB_HTML_application
int getType()
String getName()
String getName(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 nullString[][] getNames()
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:
int[] getVersions(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 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()
Object getProperty(String index)
index
- a property nameboolean isVisible()
true
if this application is marked as being
visible to users, false
otherwise.Copyright © 2013 CableLabs. All rights reserved.