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_C TLbsNetPosCapabilities ( )

Member Functions Documentation

GetPosMethod(TInt, TLbsNetPosMethod &)

IMPORT_C TInt GetPosMethod ( TInt aIndex,
TLbsNetPosMethod & aPosMethod
) const

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

MLbsLocationSourceObserver::GetCurrentCapabilities

Parameters

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

GetPosProtocol(TInt, TUid &)

IMPORT_C TInt GetPosProtocol ( TInt aIndex,
TUid & aPosProtocol
) const

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

MLbsLocationSourceObserver::GetCurrentCapabilities

Parameters

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

NumPosMethods()

IMPORT_C TInt NumPosMethods ( ) const

Returns the number of positioning methods supported by the device.

MLbsLocationSourceObserver::GetCurrentCapabilities

NumPosProtocols()

IMPORT_C TInt NumPosProtocols ( ) const

Returns the number of positioning protocols supported by the device.

MLbsLocationSourceObserver::GetCurrentCapabilities

SetPosMethods(const TLbsNetPosMethod, TInt)

IMPORT_C TInt SetPosMethods ( const TLbsNetPosMethod aPosMethods,
TInt aNumPosMethods
)

Assigns the list of positioning methods supported by the device.

MLbsLocationSourceObserver::GetCurrentCapabilities

Parameters

const TLbsNetPosMethod aPosMethods The list of positioning methods support by the device.
TInt aNumPosMethods The number of methods in the list.

SetPosProtocols(const TUid, TInt)

IMPORT_C TInt SetPosProtocols ( const TUid aPosProtocols,
TInt aNumPosProtocols
)

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]