| class CMTPObjectMetaData : public CMTPMetaData |
Defines the MTP object meta-data.
| Public Member Functions | |
|---|---|
| ~CMTPObjectMetaData () | |
| IMPORT_C CMTPObjectMetaData * | NewL () |
| IMPORT_C CMTPObjectMetaData * | NewL ( TUint , TUint , TUint , const TDesC &) |
| IMPORT_C CMTPObjectMetaData * | NewL (const TDesC &, TUint , TUint , TUint ) |
| IMPORT_C CMTPObjectMetaData * | NewLC () |
| IMPORT_C CMTPObjectMetaData * | NewLC ( TUint , TUint , TUint , const TDesC &) |
| IMPORT_C CMTPObjectMetaData * | NewLC (const TDesC &, TUint , TUint , TUint ) |
| Private Member Functions | |
|---|---|
| CMTPObjectMetaData () | |
| void | ConstructL () |
| void | ConstructL ( TUint , TUint , TUint , const TDesC &) |
| void | ConstructL (const TDesC &, TUint , TUint , TUint ) |
| Public Member Enumerations | |
|---|---|
| enum |
TElementId
{
EDataProviderId = 0, EFormatCode = 1, EFormatSubCode = 2, EHandle = 3, EModes = 4, EParentHandle = 5, EStorageId = 6, EStorageVolumeId = 7, ESuid = 8, EUserRating = 9, EBuyNow = 10, EPlayCount = 11, EIdentifier = 12, ENonConsumable = 13, EObjectMetaDataUpdate = 14, EName = 15, ENumElements } |
| Inherited Enumerations | |
|---|---|
| CMTPMetaData:TType | |
| Private Attributes | |
|---|---|
| const TElementMetaData | KElements |
| void | ConstructL | ( | ) | [private] |
| void | ConstructL | ( | TUint | aDataProviderId, |
| TUint | aFormatCode, | |||
| TUint | aStorageId, | |||
| const TDesC & | aSuid | |||
| ) | [private] | |||
| TUint aDataProviderId | The identifier of the data provider which owns the data object. |
| TUint aFormatCode | The MTP object format code of the data object. |
| TUint aStorageId | The MTP storage ID of the storage media on which the data object resides. |
| const TDesC & aSuid | A buffer containing the SUID of the data object. |
| void | ConstructL | ( | const TDesC & | aSuid, |
| TUint | aUserRating, | |||
| TUint | aBuyNow, | |||
| TUint | aPlayCount | |||
| ) | [private] | |||
| IMPORT_C CMTPObjectMetaData * | NewL | ( | ) | [static] |
| IMPORT_C CMTPObjectMetaData * | NewL | ( | TUint | aDataProviderId, |
| TUint | aFormatCode, | |||
| TUint | aStorageId, | |||
| const TDesC & | aSuid | |||
| ) | [static] | |||
| TUint aDataProviderId | The identifier of the data provider which owns the data object. |
| TUint aFormatCode | The MTP object format code of the data object. |
| TUint aStorageId | The MTP storage ID of the storage media on which the data object resides. |
| const TDesC & aSuid | A buffer containing the SUID of the data object. |
| IMPORT_C CMTPObjectMetaData * | NewL | ( | const TDesC & | aSuid, |
| TUint | aUserRating, | |||
| TUint | aBuyNow, | |||
| TUint | aPlayCount | |||
| ) | [static] | |||
| IMPORT_C CMTPObjectMetaData * | NewLC | ( | ) | [static] |
| IMPORT_C CMTPObjectMetaData * | NewLC | ( | TUint | aDataProviderId, |
| TUint | aFormatCode, | |||
| TUint | aStorageId, | |||
| const TDesC & | aSuid | |||
| ) | [static] | |||
| TUint aDataProviderId | The identifier of the data provider which owns the data object. |
| TUint aFormatCode | The MTP object format code of the data object. |
| TUint aStorageId | The MTP storage ID of the storage media on which the data object resides. |
| const TDesC & aSuid | A buffer containing the SUID of the data object. |
| IMPORT_C CMTPObjectMetaData * | NewLC | ( | const TDesC & | aSuid, |
| TUint | aUserRating, | |||
| TUint | aBuyNow, | |||
| TUint | aPlayCount | |||
| ) | [static] | |||
MTP object meta-data element identifiers.
| EDataProviderId = 0 |
The ID of the data provider responsible for the data object. This element is of type TUint . |
| EFormatCode = 1 |
The object format code. This element is of type TUint . |
| EFormatSubCode = 2 |
The object format sub-code. Currently this field is ignored unless the EFormatCode contains a value of EMTPFormatCodeAssociation , in which case this field should the specify the MTP association type code. This element is of type TUint . |
| EHandle = 3 |
The object handle. This element is of type TUint . |
| EModes = 4 |
The set of MTP operational modes in which the object is visible and will be enumerated to a connected MTP Initiator. The MTP operational modes are represented as a set of TMTPOperationalMode bit flags. This element is of type TUint |
| EParentHandle = 5 |
The parent object handle. This element is of type TUint . |
| EStorageId = 6 |
The MTP storage ID of the storage on which the data object resides. This element is of type TUint . |
| EStorageVolumeId = 7 |
The MTP storage ID of the storage on which the data object resides. This element is of type TUint . |
| ESuid = 8 |
The data object's System Unique IDentifier (SUID). This element is of type TDesC &. |
| EUserRating = 9 |
The data object's user rating This element is of type TUint . |
| EBuyNow = 10 |
The data object's BuyNow flag This element is of type TUint . |
| EPlayCount = 11 |
The data object's Played flag This element is of type TUint . |
| EIdentifier = 12 |
The data Objects Identifier as in HandleStore table This element is of type TUint . |
| ENonConsumable = 13 |
The id related to ParentHandle This element is of type TUint . The flag, used in object modification, indicates if the modified object should be reported to initiator This element is of type TUint . |
| EObjectMetaDataUpdate = 14 | |
| EName = 15 | |
| ENumElements |
The number of elements. |
| const TElementMetaData | KElements | [private, static] |
The element meta-data.
The element meta-data table content.
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.