MLbsRefLocationObserver Class Reference

class MLbsRefLocationObserver

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

MLbsRefLocationObserver

Member Functions Documentation

ExtendedInterface(TInt, TAny *, TAny *)

IMPORT_C TAny * ExtendedInterface ( TInt aFunctionNumber,
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 aFunctionNumber contains the Id of the function to be invoked internally.
TAny * aPtr1 a pointer to any data.
TAny * aPtr2 a pointer to any data.

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

void HandleRefPositionInformation ( TInt aError,
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 aError The error code associated with the outcome, if any, otherwise KErrNone
const TPositionInfoBase * aFirstPosition The first reference position. Ownership is transfered to the MLbsRefLocationObserver which should ensure the object gets deleted.
const TPositionAreaInfoBase * aFistCellId
const TPositionInfoBase * aSecondPosition The second position. Ownership is transfered to the MLbsRefLocationObserver which should ensure the object gets deleted.
const TPositionAreaInfoBase * aSecondCellId The cell ID corresponding to the second position. Ownership is transfered to the MLbsRefLocationObserver which should ensure the object gets deleted.

Version()

IMPORT_C TVersion Version ( ) const [virtual]

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