CPosGSMPrivacyRequestInfo Class Reference

class CPosGSMPrivacyRequestInfo : public CPosNetworkPrivacyRequestInfo

Contains the data needed for GSM location request verification and notification.

This includes information about the LCS client and an ID of the requesting entity (requestor).

Inherits from

Constructor & Destructor Documentation

CPosGSMPrivacyRequestInfo()

CPosGSMPrivacyRequestInfo()[private]

Default constructor.

CPosGSMPrivacyRequestInfo(const CPosGSMPrivacyRequestInfo &)

CPosGSMPrivacyRequestInfo(const CPosGSMPrivacyRequestInfo &)[private]

Parameters

const CPosGSMPrivacyRequestInfo &

~CPosGSMPrivacyRequestInfo()

~CPosGSMPrivacyRequestInfo()[virtual]

Destructor. Frees resources allocated for the LCS Client and Requester ID data.

Member Functions Documentation

ConstructL()

voidConstructL()[private]

2nd phase constructor.

GetLCSClient(TPtrC &, TIdType &)

IMPORT_C TIntGetLCSClient(TPtrC &aLCSClientId,
TIdType &aIdType
)const

Gets the LCS Client. The LCS Client can be a URL, phone number, a name etc.

Parameters

TPtrC & aLCSClientIdReturns the string identifying the LCS Client.
TIdType & aIdTypeReturns the format of the LCS Client data: URL, phone number etc.

GetRequestor(TPtrC &, TIdType &)

IMPORT_C TIntGetRequestor(TPtrC &aRequestorId,
TIdType &aIdType
)const

Gets the Requester ID.

The Requester is the originating entity which has requested the location of the target mobile device.

Parameters

TPtrC & aRequestorIdReturns a string identifying the Requester.
TIdType & aIdTypeReturns the format of the Requester ID: URL, phone number, etc.

NewL()

IMPORT_C CPosGSMPrivacyRequestInfo *NewL()[static]

Allocates and constructs a new CPosGSMPrivacyRequestInfo object. The object initially contains undefined request info data. SetLCSClientL() SetRequestorL()

NewLC()

IMPORT_C CPosGSMPrivacyRequestInfo *NewLC()[static]

Allocates and constructs a new CPosGSMPrivacyRequestInfo object and leaves it on the cleanup stack. The object initially contains undefined request info data. SetLCSClientL() SetRequestorL()

SetLCSClientL(const TDesC &, TIdType)

IMPORT_C voidSetLCSClientL(const TDesC &aLCSClientId,
TIdTypeaIdType
)

Sets the LCS Client. The LCS Client can be a URL, phone number, a name etc.

panic
KPosNetworkPrivacyPanicCategory EPosNetworkPrivacyInvalidGSMIdType aIdType is not a value from CPosGSMPrivacyRequestInfo::TIdType

Parameters

const TDesC & aLCSClientIdA descriptor containing data that identifies the LCS Client.
TIdType aIdTypeIndicates the format of the LCS Client data: URL, phone number etc.

SetRequestorL(const TDesC &, TIdType)

IMPORT_C voidSetRequestorL(const TDesC &aRequestorId,
TIdTypeaIdType
)

Sets the Requester ID. The Requester ID can be a URL, phone number, a name etc.

The Requester is the originating entity which has requested the location of the target mobile device.

panic
KPosNetworkPrivacyPanicCategory EPosNetworkPrivacyInvalidGSMIdType aIdType is not a value from CPosGSMPrivacyRequestInfo::TIdType

Parameters

const TDesC & aRequestorIdA descriptor containing data that identifies the Requester.
TIdType aIdTypeIndicates the format of the Requester ID: URL, phone number, etc.

operator=(const CPosGSMPrivacyRequestInfo &)

CPosGSMPrivacyRequestInfo &operator=(const CPosGSMPrivacyRequestInfo &)[private]

Parameters

const CPosGSMPrivacyRequestInfo &

Member Enumerations Documentation

Enum TIdType

This enum specifies how a requestor or an LCS client or requestor can be identified.

Enumerators

EIdTypeLogicalName = 0

Logical name.

EIdTypeMSISDN

Mobile subscriber phone number.

EIdTypeEmailAddress

Email address.

EIdTypeURL

URL.

EIdTypeSIPURL

URL of user in a SIP session.

EIdTypeIMSPublicIdentity

User Identifier in an IP Multimedia Service session.

Member Data Documentation

HBufC * iLCSClientId

HBufC *iLCSClientId[private]

TIdType iLCSClientIdType

TIdType iLCSClientIdType[private]

HBufC * iRequestorId

HBufC *iRequestorId[private]

TIdType iRequestorIdType

TIdType iRequestorIdType[private]