TApaAppServiceInfo Class Reference

class TApaAppServiceInfo

Application service information.

Encapsulates a service UID and associated opaque data.

An instance of this class provides information about a specific implementation of the service identified by the encapsulated service UID.

Constructor & Destructor Documentation

TApaAppServiceInfo()

IMPORT_CTApaAppServiceInfo()

TApaAppServiceInfo(TUid, CArrayFixFlat< TDataTypeWithPriority > *, HBufC8 *)

IMPORT_CTApaAppServiceInfo(TUidaUid,
CArrayFixFlat< TDataTypeWithPriority > *aDataTypes,
HBufC8 *aOpaqueData
)

Parameters

TUid aUid
CArrayFixFlat< TDataTypeWithPriority > * aDataTypes
HBufC8 * aOpaqueData

Member Functions Documentation

DataTypes()

IMPORT_C CArrayFixFlat< TDataTypeWithPriority > &DataTypes()

DataTypes()

IMPORT_C const CArrayFixFlat< TDataTypeWithPriority > &DataTypes()const

ExternalizeL(RWriteStream &)

IMPORT_C voidExternalizeL(RWriteStream &aStream)const

Parameters

RWriteStream & aStream

InternalizeL(RReadStream &)

IMPORT_C voidInternalizeL(RReadStream &aStream)

Parameters

RReadStream & aStream

OpaqueData()

IMPORT_C const TDesC8 &OpaqueData()const

Returns the service implementation's opaque data.

For each service UID registered by an application, the associated opaque data indicates how the service is implemented by that application.

The meaning of the opaque data is not known to the framework, it will vary according to the service.

For some services the opaque data may be a name intended for user display, for others it may be structured data that the service's client-side code can interpret.

Release()

IMPORT_C voidRelease()

Uid()

IMPORT_C TUidUid()const

Returns the service UID.

Note that some APIs may store a UID other than a service UID in a TApaAppServiceInfo object. Such APIs clearly state what the UID represents.

Member Data Documentation

CArrayFixFlat< TDataTypeWithPriority > * iDataTypes

CArrayFixFlat< TDataTypeWithPriority > *iDataTypes[private]

HBufC8 * iOpaqueData

HBufC8 *iOpaqueData[private]

TInt iTApaAppServiceInfo

TInt iTApaAppServiceInfo[private]

TUid iUid

TUid iUid[private]