|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ServiceProvider | |
---|---|
javax.microedition.location.services | Contains the classes and interfaces related to location based services. |
Uses of ServiceProvider in javax.microedition.location.services |
---|
Subinterfaces of ServiceProvider in javax.microedition.location.services | |
---|---|
interface |
GeocodingServiceProvider
This interface collects the services that geocoding service providers offer. |
interface |
MapServiceProvider
This interface collects the services that map providers offer. |
interface |
NavigationServiceProvider
This interface collects the services that navigation providers offer. |
Methods in javax.microedition.location.services that return ServiceProvider | |
---|---|
static ServiceProvider |
ProviderManager.connectToServiceProvider(java.lang.String name,
int type,
java.lang.String extraInfo)
Gets an instance of requested service provider to be used in the service requests. |
Methods in javax.microedition.location.services with parameters of type ServiceProvider | |
---|---|
void |
ServiceListener.configurationCompleted(ServiceProvider provider,
ServicePreferences preferences)
Called by the API implementation or service provider when the configuration UI has been completed. |
void |
ServiceListener.requestAborted(ServiceProvider provider)
Called by the API implementation or service provider when the service request has been aborted by the application. |
void |
ServiceListener.requestCanceled(ServiceProvider provider)
Called by the API implementation or service provider when the service request has been canceled by the user. |
void |
ServiceListener.requestCompleted(ServiceProvider provider)
Called by the API implementation or service provider when the service requested by the application has been successfully completed. |
void |
ServiceListener.requestError(ServiceProvider provider)
Called by the API implementation or service provider when there is an error situation, like loss of network connection or location fix, in the service provider that prevents it from finishing the service request. |
void |
ServiceListener.serviceDataStatus(ServiceProvider provider,
int code)
Called by the API implementation or service provider whenever some service data related activities, for example, loading new map data over the network happens, and service provider wants to give feedback to the application. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |