COMASuplInfoRequest Class Reference

class COMASuplInfoRequest : public CBase

Base class for different objects exchanged between SUPL Framework and SUPL POS Message plug-in. This class holds information about the type of the data that is provided by POS Message plug-in to SUPL Framework. It also provides the status of retrieval of information from POS Messahe plug-in. SUPL Framework creates an object of one of the derived types and requests for data from POS Message plug-in. If POS Message plug-in is unable to provide the information that SUPL Framework is requesting, it sets the status field to reflect the problem.

Since
Series 60 3.1u

Inherits from

Constructor & Destructor Documentation

COMASuplInfoRequest()

IMPORT_CCOMASuplInfoRequest()

C++ default constructor.

~COMASuplInfoRequest()

IMPORT_C~COMASuplInfoRequest()

Destructor.

Member Functions Documentation

CloneL()

IMPORT_C COMASuplInfoRequest *CloneL()const [virtual]

CloneL method clones the info request object and creates a new info request object with the same values. SUPL Framework invokes this method to create a copy of the info request information.

ConstructL()

voidConstructL()[private]

By default Symbian 2nd phase constructor is private.

NewL()

IMPORT_C COMASuplInfoRequest *NewL()[static]

Creates a new instance of a COMASuplInfoRequest.

SetStatus(TInt)

IMPORT_C voidSetStatus(TIntaStatus)

This method is used by the POS Message plug-in to set the status of get operation on the particular object

Parameters

TInt aStatusStatus to be set. Can be one of the following valuesKErrNone if all the fields are successfully filled up by POS Message plug-in.KErrOMASuplPosInfo if POS Message plug-in cannot provide the information that SUPL Framework is requesting for.KErrOMASuplParamNotSet if SUPL Framework is trying to fetch an optional parameter that is not set by POS Message plug-in

SetType(TOMASuplInfoType)

IMPORT_C voidSetType(TOMASuplInfoTypeaInfoType)

Sets the type of object. This method is used during the construction of the derived type

Parameters

TOMASuplInfoType aInfoTypeType of info to be set

Status()

IMPORT_C TIntStatus()const

Provides the status of data fetch operation performed by SUPL Framework. The status is set by the POS Message plugin for each of the data types.

Type()

IMPORT_C TOMASuplInfoTypeType()const

Returns the type of COMASuplInfoRequest

Member Enumerations Documentation

Enum TOMASuplInfoType

Enumeration for the type of object

Enumerators

EOMASuplReqAsstData = 0
EOMASuplVelocity
EOMASuplSETCapabilities
EOMASuplPosPayload
EOMASuplPosition

Member Data Documentation

TInt iReqStatus

TInt iReqStatus[private]

TOMASuplInfoType iType

TOMASuplInfoType iType[private]