TApaAppServiceInfo Class Reference

#include <mw/apaid.h>

Link against: apparc.lib

class TApaAppServiceInfo

Detailed Description

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
)

Member Function Documentation

DataTypes ( )

IMPORT_C CArrayFixFlat< TDataTypeWithPriority > &DataTypes()

DataTypes ( )

IMPORT_C const CArrayFixFlat< TDataTypeWithPriority > &DataTypes()const

ExternalizeL ( RWriteStream & )

IMPORT_C voidExternalizeL(RWriteStream &aStream)const

InternalizeL ( RReadStream & )

IMPORT_C voidInternalizeL(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.

Returns: the service implementation's opaque data.

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.

Returns: the service UID.