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.
Public Member Functions | |
---|---|
TApaAppServiceInfo () | |
TApaAppServiceInfo ( TUid , CArrayFixFlat < TDataTypeWithPriority > *, HBufC8 *) | |
IMPORT_C CArrayFixFlat < TDataTypeWithPriority > & | DataTypes () |
IMPORT_C const CArrayFixFlat < TDataTypeWithPriority > & | DataTypes () |
IMPORT_C void | ExternalizeL ( RWriteStream &) |
IMPORT_C void | InternalizeL ( RReadStream &) |
IMPORT_C const TDesC8 & | OpaqueData () |
IMPORT_C void | Release () |
IMPORT_C TUid | Uid () |
Private Attributes | |
---|---|
CArrayFixFlat < TDataTypeWithPriority > * | iDataTypes |
HBufC8 * | iOpaqueData |
TInt | iTApaAppServiceInfo |
TUid | iUid |
IMPORT_C | TApaAppServiceInfo | ( | TUid | aUid, |
CArrayFixFlat < TDataTypeWithPriority > * | aDataTypes, | |||
HBufC8 * | aOpaqueData | |||
) |
TUid aUid | |
CArrayFixFlat < TDataTypeWithPriority > * aDataTypes | |
HBufC8 * aOpaqueData |
IMPORT_C void | ExternalizeL | ( | RWriteStream & | aStream | ) | const |
RWriteStream & aStream |
IMPORT_C void | InternalizeL | ( | RReadStream & | aStream | ) |
RReadStream & aStream |
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.
IMPORT_C TUid | Uid | ( | ) | 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.
CArrayFixFlat < TDataTypeWithPriority > * | iDataTypes | [private] |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.