MLbsRefLocationObserver Class Reference

class MLbsRefLocationObserver

Observer interface for callbacks with the results to a request for reference position.

MLbsRefLocationObserver

Public Member Functions
voidHandleRefPositionInformation(TInt, const TPositionInfoBase *, const TPositionAreaInfoBase *, const TPositionInfoBase *, const TPositionAreaInfoBase *)
IMPORT_C TVersionVersion()
Private Member Functions
IMPORT_C TAny *ExtendedInterface(TInt, TAny *, TAny *)

Member Functions Documentation

ExtendedInterface(TInt, TAny *, TAny *)

IMPORT_C TAny *ExtendedInterface(TIntaFunctionNumber,
TAny *aPtr1,
TAny *aPtr2
)[private, virtual]

This method is used to allow polymorphic extensions to the API without breaking BC.

Reserved for future expansion.

Parameters

TInt aFunctionNumbercontains the Id of the function to be invoked internally.
TAny * aPtr1a pointer to any data.
TAny * aPtr2a pointer to any data.

HandleRefPositionInformation(TInt, const TPositionInfoBase *, const TPositionAreaInfoBase *, const TPositionInfoBase *, const TPositionAreaInfoBase *)

voidHandleRefPositionInformation(TIntaError,
const TPositionInfoBase *aFirstPosition,
const TPositionAreaInfoBase *aFistCellId,
const TPositionInfoBase *aSecondPosition,
const TPositionAreaInfoBase *aSecondCellId
)[pure virtual]

Callback used by the implementation of CLbsRefLocationSourceBase to report the reference location. The ownership of the pointer parameters is passed to the observer class.

Parameters

TInt aErrorThe error code associated with the outcome, if any, otherwise KErrNone
const TPositionInfoBase * aFirstPositionThe first reference position. Ownership is transfered to the MLbsRefLocationObserver which should ensure the object gets deleted.
const TPositionAreaInfoBase * aFistCellId
const TPositionInfoBase * aSecondPositionThe second position. Ownership is transfered to the MLbsRefLocationObserver which should ensure the object gets deleted.
const TPositionAreaInfoBase * aSecondCellIdThe cell ID corresponding to the second position. Ownership is transfered to the MLbsRefLocationObserver which should ensure the object gets deleted.

Version()

IMPORT_C TVersionVersion()const [virtual]

Method which shows which version of the callback interface the implementation is using