TLbsNetPosCapabilities Class Reference

class TLbsNetPosCapabilities : public TLbsNetClassTypeBase

TLbsNetPosCapabilities define the positioning capabilities of the LBS subsystem and device hardware.

The positioning capabilities describe the protocols supported and the types of network request the device is able to respond to. For example, this might include terminal based GPS but not terminal assisted.

Some capabilities will be static or dependent on hardware. However, other capabilities may vary dynamically - for example, as a result of the user or the network configuring the device.

TLbsNetPosMethod CLbsNetworkProtocolObserver::GetCurrentCapabilities()

Inherits from

Constructor & Destructor Documentation

TLbsNetPosCapabilities()

IMPORT_CTLbsNetPosCapabilities()

Member Functions Documentation

GetPosMethod(TInt, TLbsNetPosMethod &)

IMPORT_C TIntGetPosMethod(TIntaIndex,
TLbsNetPosMethod &aPosMethod
)const

Retrieves the details of a positioning method supported by the device.

MLbsLocationSourceObserver::GetCurrentCapabilities

Parameters

TInt aIndexSpecifies the index of the positioning method to be retrieved.
TLbsNetPosMethod & aPosMethodOn a successful return, aPosMethod contains the details of a positioning method at the index specified by aIndex

GetPosProtocol(TInt, TUid &)

IMPORT_C TIntGetPosProtocol(TIntaIndex,
TUid &aPosProtocol
)const

Retrieves the details of a positioning protocol supported by the device.

MLbsLocationSourceObserver::GetCurrentCapabilities

Parameters

TInt aIndexSpecifies the index of the positioning protocol to be retrieved.
TUid & aPosProtocol

NumPosMethods()

IMPORT_C TIntNumPosMethods()const

Returns the number of positioning methods supported by the device.

MLbsLocationSourceObserver::GetCurrentCapabilities

NumPosProtocols()

IMPORT_C TIntNumPosProtocols()const

Returns the number of positioning protocols supported by the device.

MLbsLocationSourceObserver::GetCurrentCapabilities

SetPosMethods(const TLbsNetPosMethod, TInt)

IMPORT_C TIntSetPosMethods(const TLbsNetPosMethodaPosMethods,
TIntaNumPosMethods
)

Assigns the list of positioning methods supported by the device.

MLbsLocationSourceObserver::GetCurrentCapabilities

Parameters

const TLbsNetPosMethod aPosMethodsThe list of positioning methods support by the device.
TInt aNumPosMethodsThe number of methods in the list.

SetPosProtocols(const TUid, TInt)

IMPORT_C TIntSetPosProtocols(const TUidaPosProtocols,
TIntaNumPosProtocols
)

Assigns the list of positioning protocols supported by the device.

MLbsLocationSourceObserver::GetCurrentCapabilities

Parameters

const TUid aPosProtocols
TInt aNumPosProtocols

Member Data Documentation

TInt iNumPosMethods

TInt iNumPosMethods[protected]

TInt iNumPosProtocols

TInt iNumPosProtocols[protected]

TLbsNetPosMethod iPosMethod

TLbsNetPosMethod iPosMethod[protected]

TUid iPosProtocol

TUid iPosProtocol[protected]

TUint8 iReserved

TUint8 iReserved[protected]