Map and Navigation Provider Discovery APIChanges in Map and Navigation Provider Discovery API documentation
Changes in Map and Navigation Provider Discovery API
PurposeThis API enables client to find out what provider applications are installed
and available to use with
API DescriptionThis API is intended for applications, which utilize
Use casesThe main use cases provided by the API are the following:
API class structureThis API provides two main classes:
MnProviderFinder is a static class. The CMnProvider instance
can be only retrieved from the result of discovery operations executed by MnProviderFinder.
Related APIs
Using the Map and Navigation Provider Discovery APIThis API is a helper for
Find providersIn order to find provider applications for map view, navigation and geocoding
services, the client uses the
Find all providersThe
The following example shows how to find a specific provider application (explicitly identified by its application UID) among all available provider applications. The example is given in the form of a function, which retrieves a list of all providers, compares all providers with the given UID and returns the matching one, if found. The client gets ownership of the object. The function leaves if no match is found.
Related APIs
Find providers by servicesIf a client is only interested in providers, which support particular services,
it can retrieve such a list by calling another overload of the
The following example shows how to find a provider application, which supports specified services among all available provider applications. The example is given in the form of a function, which retrieves a list of providers, supporting specified services and returns the first one found. The client gets ownership of the object. The function returns NULL if a match is not found. The input parameter of the function is the bitmap of service constants,
defined in the
Note that in the latter case, if no providers support both geocoding and navigation services, NULL is returned.
Related APIs
Related APIs
Retrieve provider informationProvider application information can be retrieved from the
Related APIs
GlossaryDefinitionsMap and Navigation Provider API definitions
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies). All rights reserved. License: EPL
|