public interface InternetClientService extends Service
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.
| Modifier and Type | Method and Description |
|---|---|
boolean |
canRunApplication()
Returns true if the application can run without having to stop the downloaded MHP
application.
|
String |
getName()
Returns a short service name or an acronym.
|
ServiceType |
getServiceType()
Returns the type of this service.
|
InternetClientService[] |
getSupportedClientServices()
Returns all
InternetClientServices 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. |
equals, getLocator, hashCodeboolean canRunApplication()
SIRequest retrieveDetails(SIRequestor requestor)
InternetClient.
The requestor will always be notified of a failure of type DATA_UNAVAILABLE.retrieveDetails in interface Servicerequestor - - The SIRequestor to be notified when this retrieval operation completes.SIRequest object identifying the requestLocator,
ServiceDetailsString getName()
InternetClient,
the returned value is implementation dependentboolean hasMultipleInstances()
InternetClienthasMultipleInstances in interface ServiceInternetClient instancesServiceType getServiceType()
InternetServiceType class shall be
returned.getServiceType in interface ServiceInternetClientService[] getSupportedClientServices()
InternetClientServices supported by the same
application as this one. This InternetClientService is included in the array.InternetClientServicesCopyright © 2012 code4tv.com. All Rights Reserved.