CMnNavigator Class Reference

class CMnNavigator : public CBase

To create an instance of the class, use NewL or NewChainedL methods. They require instance of CMnProvider, defined in Map and Navigation Provider Discovery API.

Since
3.1 mnclientlib.dll

Inherits from

Constructor & Destructor Documentation

CMnNavigator()

CMnNavigator()[private]

C++ constructor

~CMnNavigator()

IMPORT_C~CMnNavigator()

Destructor

Member Functions Documentation

ConstructChainedL(CMnProvider &)

voidConstructChainedL(CMnProvider &aProvider)[private]

Parameters

CMnProvider & aProvider

ConstructCommonL(CMnProvider &)

voidConstructCommonL(CMnProvider &aProvider)[private]

Parameters

CMnProvider & aProvider

ConstructNewL(CMnProvider &)

voidConstructNewL(CMnProvider &aProvider)[private]

Parameters

CMnProvider & aProvider

NavigateToL(const CPosLandmark &)

IMPORT_C voidNavigateToL(const CPosLandmark &aDestination)

This method completes as soon as navigation request reaches Provider Application. Navigation is held then in Provider Application's process.

Navigation destination is specified as landmark. This landmark does not have to contain coordinate information, in which case its address information will be used, if present. If neither coordinate nor address information is present in the landmark, then this method leaves with KErrArgument.

This is synchronous request. It is completed as soon as navigation starts on Provider Application side.

leave
KErrArgument if neither coordinate nor address information is present in the landmark

Parameters

const CPosLandmark & aDestinationNavigation destination.

NewChainedL(CMnProvider &)

IMPORT_C CMnNavigator *NewChainedL(CMnProvider &aProvider)[static]
leave
KErrNotSupported Selected Provider Application does not support navigation services (CMnProvider::EServiceNavigation).

Parameters

CMnProvider & aProviderProvider Application to be used for navigation.

NewL(CMnProvider &)

IMPORT_C CMnNavigator *NewL(CMnProvider &aProvider)[static]
leave
KErrNotSupported Selected Provider Application does not support navigation services (CMnProvider::EServiceNavigation).

Parameters

CMnProvider & aProviderProvider Application to be used for navigation.

RemoveExitObserver()

IMPORT_C voidRemoveExitObserver()

SetExitObserverL(MAknServerAppExitObserver &)

IMPORT_C voidSetExitObserverL(MAknServerAppExitObserver &aObserver)
leave
KErrAlreadyExists if observer is already set.

Parameters

MAknServerAppExitObserver & aObserverExit observer.

Member Data Documentation

CApaServerAppExitMonitor * iExitMonitor

CApaServerAppExitMonitor *iExitMonitor[private]

RMnNavigationServiceClient * iSession

RMnNavigationServiceClient *iSession[private]