COMASuplPosPayload Class Reference

class COMASuplPosPayload : public COMASuplInfoRequest

COMASuplPosPayload holds SUPL POS Payload

Since
Series 60 3.1u

Inherits from

Constructor & Destructor Documentation

COMASuplPosPayload()

COMASuplPosPayload()[private]

C++ default constructor.

~COMASuplPosPayload()

IMPORT_C~COMASuplPosPayload()

Destructor.

Member Functions Documentation

CloneL()

IMPORT_C COMASuplInfoRequest *CloneL()const [virtual]

CloneL method clones the POS payload object and creates a new POS payload object with the same values. This is a utility method provided by the POS Message plug-in API. When SUPL Framework forwards a POS Payload from the network, POS Message plug-in can optionally use this method to create a new copy of the POS Payload.

ConstructL()

voidConstructL()[private]

By default Symbian 2nd phase constructor is private.

GetPosPayload(HBufC8 *&, TOMASuplPosPayloadType &)

IMPORT_C voidGetPosPayload(HBufC8 *&aPayload,
TOMASuplPosPayloadType &aPayloadType
)const

GetPosPayload is invoked to retrieve the TIA-801 or RRLP or RRC payload.

Parameters

HBufC8 *& aPayloadA reference parameter of type HBufC8, which holds the SUPL POS Payload
TOMASuplPosPayloadType & aPayloadTypeA refernce parameter of type TOMASuplPosPayloadType which holds type of POS Payload. The type of the payload depends on the underlying control plane positioning protocol

NewL()

IMPORT_C COMASuplPosPayload *NewL()[static]

Creates a new instance of a COMASuplPosPayload and sets the type in COMASuplInfoRequest to EOMASuplPosPayload

SetPosPayload(HBufC8 *, TOMASuplPosPayloadType)

IMPORT_C voidSetPosPayload(HBufC8 *aPayload,
TOMASuplPosPayloadTypeaPayloadType
)

SetPosPayload is invoked to set the type and value for POS Payload.

Parameters

HBufC8 * aPayloadParameter of type HBufC8, which holds the SUPL POS Payload
TOMASuplPosPayloadType aPayloadTypeParameter of type TOMASuplPosPayloadType which determines the type of the POS Payload. The type of the POS Payload depends on the underlying control plane positioning protocol

SetSuplPayloadType(TOMASuplPosPayloadType)

IMPORT_C voidSetSuplPayloadType(TOMASuplPosPayloadTypeaPayLoadType)

SetSuplPayloadType Sets type of SUPL POS Payload

Parameters

TOMASuplPosPayloadType aPayLoadTypeOne of the POS Payload types defined by TOMASuplPosPayloadType

SuplPayloadType()

IMPORT_C TOMASuplPosPayloadTypeSuplPayloadType()const

SuplPayloadType retrieves type of SUPL POS Payload

Member Enumerations Documentation

Enum TOMASuplPosPayloadType

Enumeration for POS Payload Type. Depending on the underlying control plane positioning protocol, POS Payload can be one of TIA 801, RRLP or RRC

Enumerators

ETIA801 = 0
ERRLP = 1
ERRC = 2

Member Data Documentation

HBufC8 * iPayload

HBufC8 *iPayload[private]

TOMASuplPosPayloadType iPayloadType

TOMASuplPosPayloadType iPayloadType[private]