TLbsExternalRequestInfo Class Reference

class TLbsExternalRequestInfo : public TLbsLocClassTypeBase

Contains information about the external location requester when a location request is received from the network (MT-LR).

Inherits from

Public Member Functions
TLbsExternalRequestInfo()
IMPORT_C TCodingSchemeClientNameCodingScheme()
IMPORT_C TFormatIndicatorClientNameFormat()
IMPORT_C voidGetClientExternalId(TDes8 &)
IMPORT_C voidGetClientName(TDes8 &)
IMPORT_C voidGetClientName(TDes16 &)
IMPORT_C voidGetRequesterId(TDes8 &)
IMPORT_C voidGetRequesterId(TDes16 &)
IMPORT_C TNetworkTypeNetworkType()
IMPORT_C TRequestSourceRequestSource()
IMPORT_C TRequestTypeRequestType()
IMPORT_C TCodingSchemeRequesterIdCodingScheme()
IMPORT_C TFormatIndicatorRequesterIdFormat()
IMPORT_C voidSetClientExternalId(const TDesC8 &)
IMPORT_C voidSetClientName(const TDesC8 &)
IMPORT_C voidSetClientName(const TDesC16 &)
IMPORT_C voidSetClientNameCodingScheme(const TCodingScheme)
IMPORT_C voidSetClientNameFormat(const TFormatIndicator)
IMPORT_C voidSetNetworkType(const TNetworkType)
IMPORT_C voidSetRequestSource(const TRequestSource)
IMPORT_C voidSetRequestType(const TRequestType)
IMPORT_C voidSetRequesterId(const TDesC8 &)
IMPORT_C voidSetRequesterId(const TDesC16 &)
IMPORT_C voidSetRequesterIdCodingScheme(const TCodingScheme)
IMPORT_C voidSetRequesterIdFormat(const TFormatIndicator)
Inherited Functions
TLbsLocClassTypeBase::ClassSize()const
TLbsLocClassTypeBase::ClassType()const
TLbsLocClassTypeBase::TLbsLocClassTypeBase()
Public Member Enumerations
enum_TCodingScheme { ECodingSchemeUnknown = 0, ECodingSchemeUCS2 = 1, ECodingSchemeGSMDefault = 2, ECodingSchemeUTF8 = 3 }
enum_TFormatIndicator {
EFormatUnknown = 0, EFormatLogicalName = 1, EFormatEmailAddress = 2, EFormatMSISDN = 3, EFormatURL = 4, EFormatSIPURL = 5, EFormatIMSPublicIdentity = 6, EFormatMIN = 7, EFormatMDN = 8, EFormatAppUID = 9
}
enum_TNetworkType { ENetworkTypeUnknown = 0, ENetworkGSM = 1, ENetworkSUPL = 2, ENetworkWCDMA = 3 }
enum_TRequestSource { ERequestSourceUnknown = 0, ERequestSourceLocal = 1, ERequestSourceNetwork = 2 }
enum_TRequestType {
ERequestTypeUnknown = 0, ERequestSingleShot = 1, ERequestPeriodic = 2, ERequestAreaEvent = 3, ERequestSingleShotSilent = 4, ERequestPeriodicSilent = 5, ERequestAreaEventSilent = 6, ERequestTypeMaxEnum = 7
}
Public Member Type Definitions
typedef TUint32 TCodingScheme
typedef TUint32 TFormatIndicator
typedef TUint32 TNetworkType
typedef TUint32 TRequestSource
typedef TUint32 TRequestType
Private Attributes
TUint8 iClientCoding
TLbsClientExternalId iClientExternalId
TInt8 iClientFormat
TLbsClientName iClientName
TInt8 iNetworkType
TInt8 iRequestSource
TInt8 iRequestType
TUint8 iRequesterCoding
TInt8 iRequesterFormat
TLbsRequesterId iRequesterId
TUint8 iReserved
Inherited Attributes
TLbsLocClassTypeBase::iClassSize
TLbsLocClassTypeBase::iClassType

Constructor & Destructor Documentation

TLbsExternalRequestInfo()

IMPORT_CTLbsExternalRequestInfo()

Constructor for TLbsExternalRequestInfo

Member Functions Documentation

ClientNameCodingScheme()

IMPORT_C TCodingSchemeClientNameCodingScheme()const

Get the client name coding scheme.

ClientNameFormat()

IMPORT_C TFormatIndicatorClientNameFormat()const

Get the client name format indicator.

GetClientExternalId(TDes8 &)

IMPORT_C voidGetClientExternalId(TDes8 &aClientExternalId)const

Get the client external Id as a raw 8-bit buffer.

Parameters

TDes8 & aClientExternalIdReference to a descriptor which Client External Id is copied into.

GetClientName(TDes8 &)

IMPORT_C voidGetClientName(TDes8 &aClientName)const

Get the client name as a raw 8-bit buffer.

Parameters

TDes8 & aClientNameReference to a descriptor which Client Name is copied into.

GetClientName(TDes16 &)

IMPORT_C voidGetClientName(TDes16 &aClientName)const

Get the client name as a unicode string. Should be used only if the coding scheme is unicode.

ClientNameCodingScheme

Parameters

TDes16 & aClientNameReference to a descriptor which Client Name is copied into.

GetRequesterId(TDes8 &)

IMPORT_C voidGetRequesterId(TDes8 &aRequesterId)const

Get the requester Id as a raw 8-bit buffer.

Parameters

TDes8 & aRequesterIdReference to a descriptor which Requester Id is copied into.

GetRequesterId(TDes16 &)

IMPORT_C voidGetRequesterId(TDes16 &aRequesterId)const

Get the requester Id as a unicode string. Should be used only if the coding scheme is unicode.

RequesterIdCodingScheme

Parameters

TDes16 & aRequesterIdReference to a descriptor which Requester Id is copied into.

NetworkType()

IMPORT_C TNetworkTypeNetworkType()const

Get the network type.

RequestSource()

IMPORT_C TRequestSourceRequestSource()const

Get the request source. (e.g. local or network)

RequestType()

IMPORT_C TRequestTypeRequestType()const

Get the request type.

RequesterIdCodingScheme()

IMPORT_C TCodingSchemeRequesterIdCodingScheme()const

Get the requester id coding scheme.

RequesterIdFormat()

IMPORT_C TFormatIndicatorRequesterIdFormat()const

Get the requester id format indicator.

SetClientExternalId(const TDesC8 &)

IMPORT_C voidSetClientExternalId(const TDesC8 &aClientExternalId)

Set the client external Id as a raw 8-bit buffer.

Parameters

const TDesC8 & aClientExternalIdReference to a descriptor that contains the client external Id.

SetClientName(const TDesC8 &)

IMPORT_C voidSetClientName(const TDesC8 &aClientName)

Set the client name as a raw 8-bit buffer. Note that it does not automatically change the coding scheme that must be set separately.

SetClientNameCodingScheme ClientNameCodingScheme

Parameters

const TDesC8 & aClientNameReference to a descriptor that contains the client name.

SetClientName(const TDesC16 &)

IMPORT_C voidSetClientName(const TDesC16 &aClientName)

Set the client name as a unicode string. Note that it does not automatically change the coding scheme that must be set separately.

SetClientNameCodingScheme ClientNameCodingScheme

Parameters

const TDesC16 & aClientNameReference to a descriptor that contains the client name.

SetClientNameCodingScheme(const TCodingScheme)

IMPORT_C voidSetClientNameCodingScheme(const TCodingSchemeaCoding)

Set the client name coding scheme.

Parameters

const TCodingScheme aCodingThe client name coding scheme.

SetClientNameFormat(const TFormatIndicator)

IMPORT_C voidSetClientNameFormat(const TFormatIndicatoraFormat)

Set the client name format indicator.

Parameters

const TFormatIndicator aFormatThe client name format indicator.

SetNetworkType(const TNetworkType)

IMPORT_C voidSetNetworkType(const TNetworkTypeaNetworkType)

Set the network type.

Parameters

const TNetworkType aNetworkTypeThe network type.

SetRequestSource(const TRequestSource)

IMPORT_C voidSetRequestSource(const TRequestSourceaRequestSource)

Set the request source. (e.g. local or network)

Parameters

const TRequestSource aRequestSourceThe request source.

SetRequestType(const TRequestType)

IMPORT_C voidSetRequestType(const TRequestTypeaRequestType)

Set the request type.

Parameters

const TRequestType aRequestTypeThe request type.

SetRequesterId(const TDesC8 &)

IMPORT_C voidSetRequesterId(const TDesC8 &aRequesterId)

Set the requester Id as a raw 8-bit buffer. Note that it does not automatically change the coding scheme that must be set separately.

SetRequesterIdCodingScheme RequesterIdCodingScheme

Parameters

const TDesC8 & aRequesterIdReference to a descriptor that contains the requester Id.

SetRequesterId(const TDesC16 &)

IMPORT_C voidSetRequesterId(const TDesC16 &aRequesterId)

Set the requester Id as a unicode string. Note that it does not automatically change the coding scheme that must be set separately.

SetRequesterIdCodingScheme RequesterIdCodingScheme

Parameters

const TDesC16 & aRequesterIdReference to a descriptor that contains the requester Id.

SetRequesterIdCodingScheme(const TCodingScheme)

IMPORT_C voidSetRequesterIdCodingScheme(const TCodingSchemeaCoding)

Set the requester id coding scheme.

Parameters

const TCodingScheme aCodingThe requester id coding scheme.

SetRequesterIdFormat(const TFormatIndicator)

IMPORT_C voidSetRequesterIdFormat(const TFormatIndicatoraFormat)

Set the requester id format indicator.

Parameters

const TFormatIndicator aFormatThe requester id format indicator.

Member Enumerations Documentation

Enum _TCodingScheme

This enum specifies string encoding type. Note that the TCodingScheme enum may be extended in the future by adding more enumerated values. To maintain compatibility any unrecognized values must be handled as ECodingSchemeUnknown.

Enumerators

ECodingSchemeUnknown = 0

Unknown. Should be used to initialize variables

ECodingSchemeUCS2 = 1

2-byte Universal Character Set

ECodingSchemeGSMDefault = 2

7-bit default alphabet and the SMS packaging specified in [3GPP 23.038]

ECodingSchemeUTF8 = 3

8-bit UCS/Unicode Transformation Format

Enum _TFormatIndicator

This enum specifies how a requestor or an LCS client or requestor can be identified. Note that the TFormatIndicator enum may be extended in the future by adding more enumerated values. To maintain compatibility any unrecognized values must be handled as EFormatUnknown.

Enumerators

EFormatUnknown = 0

Unknown. Should be used to initialize variables

EFormatLogicalName = 1

Logical name.

EFormatEmailAddress = 2

Email address.

EFormatMSISDN = 3

Mobile subscriber phone number.

EFormatURL = 4

URL.

EFormatSIPURL = 5

URL of user in a SIP session.

EFormatIMSPublicIdentity = 6

User Identifier in an IP Multimedia Service session.

EFormatMIN = 7

Mobile Identification Number.

EFormatMDN = 8

Mobile Directory Number.

EFormatAppUID = 9

Application UID. The identifier represents a 32-bit value (TUid) and is stored as a hexadecimal string. e.g."0x12345678"

Enum _TNetworkType

Network type Note that the TNetworkType enum may be extended in the future by adding more enumerated values. To maintain compatibility any unrecognized values must be handled as ENetworkTypeUnknown.

Enumerators

ENetworkTypeUnknown = 0

Unknown network. Should be used to initialize variables

ENetworkGSM = 1

A request received over GSM

ENetworkSUPL = 2

A request received over SUPL

ENetworkWCDMA = 3

A request received over WCDMA

Enum _TRequestSource

Source of request Note that the TRequestSource enum may be extended in the future by adding more enumerated values. To maintain compatibility any unrecognized values must be handled as ERequestSourceUnknown.

Enumerators

ERequestSourceUnknown = 0

Unknown. Should be used to initialize variables

ERequestSourceLocal = 1
The privacy request originates from a local application.
capability
Location The capability is checked when CLbsPrivacyRequest::NewPrivacyRequest() or CLbsPrivacyRequest::RepeatPrivacyRequest() is called. CLbsPrivacyRequest::NewPrivacyRequest() CLbsPrivacyRequest::RepeatPrivacyRequest()
capability
ReadDeviceData The capability is checked when CLbsPrivacyRequest::NewPrivacyRequest() or CLbsPrivacyRequest::RepeatPrivacyRequest() is called. CLbsPrivacyRequest::NewPrivacyRequest() CLbsPrivacyRequest::RepeatPrivacyRequest()
ERequestSourceNetwork = 2
The privacy request originates from a network. To get more information about a network TNetworkType
capability
NetworkServices The capability is checked when CLbsPrivacyRequest::NewPrivacyRequest() or CLbsPrivacyRequest::RepeatPrivacyRequest() is called. CLbsPrivacyRequest::NewPrivacyRequest() CLbsPrivacyRequest::RepeatPrivacyRequest()

Enum _TRequestType

Type of request Note that the TRequestType enum may be extended in the future by adding more enumerated values. To maintain compatibility any unrecognized values must be handled as ERequestTypeUnknown.

Enumerators

ERequestTypeUnknown = 0

Unknown. Should be used to initialize variables

ERequestSingleShot = 1

The privacy request is related to a single location request

ERequestPeriodic = 2

The privacy request is related to a periodic location request

ERequestAreaEvent = 3

The privacy request is related to an area event location request

ERequestSingleShotSilent = 4

The privacy request is related to a single location request and is advised to be handled silently (no notification or verification)

ERequestPeriodicSilent = 5

The privacy request is related to a periodic location request and is advised to be handled silently (no notification or verification)

ERequestAreaEventSilent = 6

The privacy request is related to an area event location request and it is advised to be handled silently (no notification or verification)

ERequestTypeMaxEnum = 7

Member Type Definitions Documentation

Typedef TCodingScheme

typedef TUint32 TCodingScheme

Defined type for TCodingScheme

Typedef TFormatIndicator

typedef TUint32 TFormatIndicator

Defined type for TFormatIndicator

Typedef TNetworkType

typedef TUint32 TNetworkType

Defined type for TNetworkType

Typedef TRequestSource

typedef TUint32 TRequestSource

Defined type for TRequestSource

Typedef TRequestType

typedef TUint32 TRequestType

Defined type for TRequestType

Member Data Documentation

TUint8 iClientCoding

TUint8 iClientCoding[private]

Client coding

TLbsClientExternalId iClientExternalId

TLbsClientExternalId iClientExternalId[private]

Client external Id.

TInt8 iClientFormat

TInt8 iClientFormat[private]

Client format

TLbsClientName iClientName

TLbsClientName iClientName[private]

Client name.

TInt8 iNetworkType

TInt8 iNetworkType[private]

Network type

TInt8 iRequestSource

TInt8 iRequestSource[private]

Request source

TInt8 iRequestType

TInt8 iRequestType[private]

Request type

TUint8 iRequesterCoding

TUint8 iRequesterCoding[private]

Requester coding

TInt8 iRequesterFormat

TInt8 iRequesterFormat[private]

Requester format

TLbsRequesterId iRequesterId

TLbsRequesterId iRequesterId[private]

Requestor Id.

TUint8 iReserved

TUint8 iReserved[private]

Reserved for future use to help maintain BC.