public interface ExtendedAppAttributes extends AppAttributes
The ExtendedAppAttributes interface provides
additional attributes that are useful when application
can be stored in the MHP terminal.
AppAttributes objects that are returned
from the AppsDatabase shall implement this
interface if and only if the terminal supports storing applications and
the total amount of memory for stored services and/or
cached applications is greater than zero.
DVB_HTML_application, DVB_J_application| Modifier and Type | Method and Description |
|---|---|
boolean |
canAddToStoredService()
Returns
true if this application is signalled as capable
of being added to a stored service. |
boolean |
canCache()
Returns
true if this application is signalled as capable
of being cached. |
int |
getCurrentVersionNumber()
Returns the optional version number currently signalled for
this application.
|
boolean |
isStartable()
This method determines whether the application is startable or not.
|
boolean |
isStorageRequired()
Returns
true if this application is signalled as not launchable
from broadcast. |
boolean |
isStored()
Returns
true if this application is currently stored
or cached on the terminal. |
getAppIcon, getIdentifier, getIsServiceBound, getName, getName, getNames, getPriority, getProfiles, getProperty, getServiceLocator, getType, getVersions, isVisibleint getCurrentVersionNumber()
boolean canAddToStoredService()
true if this application is signalled as capable
of being added to a stored service. I.e. if this application
could be added to a stored service without the
InvalidApplicationException
being thrown.
For broadcast applications, returns true if and only
if this application is signalled as being storable and as capable
of running stand alone. For applications that are part of a
stored service, this function returns true.
true if this application is signalled as
capable of being added to a stored service.boolean canCache()
true if this application is signalled as capable
of being cached. I.e. if this application could be added to a
cache without the
InvalidApplicationException
being thrown.
For broadcast applications, returns true if and only
if this application is signalled as being storable. For
applications that are part of a stored service, this function
returns true.
true if this application is signalled as
capable of being cached.boolean isStorageRequired()
true if this application is signalled as not launchable
from broadcast. I.e. for a broadcast application this method
will return true if and only if the application
is signalled with an application storage descriptor where
not_launchable_from_broadcast is "1".
If this application is part of a stored service, this
function returns true.
Note that the return value of this method does not depend on whether or not the application is currently stored or cached.
true if and only if this application
is signalled as not launchable from broadcast.boolean isStored()
true if this application is currently stored
or cached on the terminal. Returns true
if and only if the application is signalled as being
storable and all the files signalled as having critical
priority have been stored or cached by the terminal.true if this application
is currently stored or cached.boolean isStartable()
The value returned by this method does not depend on whether the application is actually running or not.
isStartable in interface AppAttributesCopyright © 2012 code4tv.com. All Rights Reserved.