CLbsLocationResolverImpl Class Reference

#include <lbslocationresolverimpl.h>

List of all members.

Public Member Functions

 ~CLbsLocationResolverImpl ()
void ResolveLocationL (const CLbsLocationInfoBase &aLocationInfo)
void CancelResolveLocation ()
TInt SetConversionPreferences (TLbsConversionPrefs aConversionPrefs)
TLbsConversionPrefs ConversionPreferences ()

Static Public Member Functions

static CLbsLocationResolverImplNewL (MLbsLocationResolverObserver &aObserver, const TUid aConversionModuleId)

Protected Member Functions

void RunL ()
void DoCancel ()

Detailed Description

Class implements the services exposed by CLbsLocationInfoConverter


Constructor & Destructor Documentation

CLbsLocationResolverImpl::~CLbsLocationResolverImpl (  ) 

Destructor


Member Function Documentation

void CLbsLocationResolverImpl::CancelResolveLocation (  ) 

Cancels get location info operation.

TLbsConversionPrefs CLbsLocationResolverImpl::ConversionPreferences (  ) 

Returns the option currently set for the conversion module's connection preference [ eg. "local cache"]

Returns:
The enum corresponding to the currently set connection preferences (ELbsConversionNotDefined will be returned if the conversion preferences have not been set yet)
CLbsLocationResolverImpl * CLbsLocationResolverImpl::NewL ( MLbsLocationResolverObserver aObserver,
const TUid  aConversionModuleId 
) [static]

Allocates and construct a new CLbsLocationResolverImpl

Parameters:
[in] aObserver Handle to the observer implementation
[in] aConversionModuleId ID of the conversion plugin to be used.
Returns:
Pointer to the implementation class of Location Info converter.
void CLbsLocationResolverImpl::ResolveLocationL ( const CLbsLocationInfoBase &  aLocationInfo  ) 

Converts one area info to position info

Parameters:
[in] aLocationInfo location information corresponding to a geographical location is passed and on successful completion of this method,position information corresponding to the location information is returned in the observer callback.
[in] aConversionPrefs Conversion preferences suggested by client
[in] aRequestedInfo Location information that is requested.

KErrArgument If the location info array is empty or one of system wide error codes.

TInt CLbsLocationResolverImpl::SetConversionPreferences ( TLbsConversionPrefs  aConversionPrefs  ) 

Sets the option for the conversion module's connection preferences [ eg. "online without prompt"]

Parameters:
[in] aConversionPrefs - Enum specifying the connection preference
Returns:
KErrArgument if the value is invalid, KErrNone otherwise

The documentation for this class was generated from the following files:

Copyright (c) 2005-2010 Nokia Corporation and/or its subsidiary(-ies).
All rights reserved. These materials are provided under the terms of the Eclipse Public License v1.0.