|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The base class for the interface to resident applications that are supported by the internet access profile.
The lifecycle of an application which implements this interface or its subclasses
is for a broadcast service. The application is started by selecting the appropriate
service (using the Locator
object returned by calls to getLocator()
). If this service is selected in the service context which contains the
executing application, any currently presented content will be stopped and the
application will be destroyed before the client is launched. Calling destroy()
or stop()
on the service context in which the client is running will cause
the client to be terminated.
Methods in this API will not affect the lifecycle of the calling application.
Method Summary | |
boolean |
canRunApplication()
Returns true if the application can run without having to stop the downloaded MHP application. |
java.lang.String |
getName()
Returns a short service name or an acronym. |
ServiceType |
getServiceType()
Returns the type of this service. |
InternetClientService[] |
getSupportedClientServices()
Returns all InternetClientService s supported by the same
application as this one. |
boolean |
hasMultipleInstances()
This method indicates whether the service represented by this Service is available on multiple transports. |
SIRequest |
retrieveDetails(SIRequestor requestor)
This method will always fail when called for an InternetClient .
|
Methods inherited from interface javax.tv.service.Service |
equals, getLocator, hashCode |
Method Detail |
public boolean canRunApplication()
public SIRequest retrieveDetails(SIRequestor requestor)
InternetClient
.
The requestor will always be notified of a failure of type DATA_UNAVAILABLE.
retrieveDetails
in interface Service
requestor
- - The SIRequestor
to be notified when this retrieval operation completes.
SIRequest
object identifying the requestpublic java.lang.String getName()
InternetClient
,
the returned value is implementation dependent
getName
in interface Service
public boolean hasMultipleInstances()
InternetClient
hasMultipleInstances
in interface Service
InternetClient
instancespublic ServiceType getServiceType()
InternetServiceType
class shall be
returned.
getServiceType
in interface Service
public InternetClientService[] getSupportedClientServices()
InternetClientService
s supported by the same
application as this one. This InternetClientService
is included in the array.
InternetClientServices
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |