#include <lbslocinfoconverterpluginbase.h>
Public Member Functions | |
virtual IMPORT_C TVersion | Version () const |
virtual IMPORT_C void | OnValidationComplete (TInt aStatusCode)=0 |
virtual IMPORT_C void | OnConversionComplete (TInt aStatusCode)=0 |
The MLbsLocInfoConverterPluginObserver class is used in partnership with CLbsLocInfoConverterPluginBase. The observer interface is used by a conversion plugin to inform LBS when a coordinate conversion process initiated through the CLbsLocInfoConverterPluginBase class is completed.
Although all the interface methods in the MLbsLocInfoConverterPluginObserver class are synchronous, the LBS subsystem ensures they return quickly.
virtual IMPORT_C void MLbsLocInfoConverterPluginObserver::OnConversionComplete | ( | TInt | aStatusCode | ) | [pure virtual] |
The callback is used by the conversion plugin to inform the LBS subsystem that a coordinate conversion process initiated through the CLbsLocInfoConverterPluginBase::ConvertLocationInfoL method is completed.
Receiving the callback indicates that, unless the conversion was not successful, the location data structures passed through the CLbsLocInfoConverterPluginBase::ConvertLocationInfoL method have been updated with the requested information.
aStatusCode | Result of the conversion operation. KErrNone if at least one conversion have been successful and the related location data structure(s) passed through the CLbsLocInfoConverterPluginBase::ConvertLocationInfoL method have been updated with the requested information; KErrKErrNotFound if none of conversions have been successful Or other system wide error code otherwise. |
virtual IMPORT_C void MLbsLocInfoConverterPluginObserver::OnValidationComplete | ( | TInt | aStatusCode | ) | [pure virtual] |
The callback is used by the conversion plugin to inform the LBS subsystem that a validation request initiated through the CLbsLocInfoConverterPluginBase::ValidateClient method is completed.
aStatusCode | Result of the validation operation. KErrNone if the access is granted. KErrPermissionDenied due to a potential security violation. Other system wide error codes. |
EXPORT_C TVersion MLbsLocInfoConverterPluginObserver::Version | ( | ) | const [virtual] |
Gets the current version of the observer interface. Derived classes should not change the implementation.