MLbsNetworkProtocolObserver2 Class Reference

class MLbsNetworkProtocolObserver2 : public MLbsNetworkProtocolObserver

The class is an extended version of MLbsNetworkProtocolObserver and should be used together with CLbsNetworkProtocolBase2.

Inherits from

Member Functions Documentation

ExtendedInterface(TInt, TAny *, TAny *)

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

Should not be used. Provides for future expansion of the observer interface.

Parameters

TInt aFunctionNumber
TAny * aPtr1
TAny * aPtr2

ProcessAssistanceData(TLbsAsistanceDataGroup, const RLbsAssistanceDataBuilderSet &, TInt, const TLbsNetSessionIdArray &)

voidProcessAssistanceData(TLbsAsistanceDataGroupaDataMask,
const RLbsAssistanceDataBuilderSet &aData,
TIntaReason,
const TLbsNetSessionIdArray &aSessionIdArray
)[pure virtual]

A new version of the MLbsNetworkProtocolObserver::ProcessAssistanceData() method. The only difference between the original and the new version of the method is an extra parameter that provides the LBS subsystem with a list of sessions ids. The most common scenario is when the assistance data is related to one session only. For details see MLbsNetworkProtocolObserver::ProcessAssistanceData().

Currently the functionality of this method is identical to the MLbsNetworkProtocolObserver::ProcessAssistanceData() and the list of session ids passed through the aSessionIdArray parameter may be empty.

Parameters

TLbsAsistanceDataGroup aDataMask[In] Is a bitmask that specifies which subsets of GPS assistance data are included in the aData parameter.
const RLbsAssistanceDataBuilderSet & aData[In] A container that holds all of the GPS assistance data to be delivered.
TInt aReason[In] Delivery status for the GPS assistance data being supplied. KErrNone is passed if the specified assistance data has been successfully retrieved from the network and delivered. Otherwise, an error code is passed indicating the reason why the assistance data references in aData could not be obtained.
const TLbsNetSessionIdArray & aSessionIdArray[In] A list of session ids the assistance data is related to.

ProcessAssistanceData(TLbsAsistanceDataGroup, const RLbsAssistanceDataBuilderSet &, TInt)

voidProcessAssistanceData(TLbsAsistanceDataGroupaDataMask,
const RLbsAssistanceDataBuilderSet &aData,
TIntaReason
)[protected, virtual]

It is the original MLbsNetworkProtocolObserver::ProcessAssistanceData() method and should not be used by protocol modules implementing the extended version of the interface.

See the new, public overload.

Parameters

TLbsAsistanceDataGroup aDataMask
const RLbsAssistanceDataBuilderSet & aData
TInt aReason

Version()

IMPORT_C TVersionVersion()const [virtual]

Get the current version of the observer interface