CMPXAlbumArtUtil Class Reference
class CMPXAlbumArtUtil : public CBase |
Music Player common utility class
Constructor & Destructor Documentation
CMPXAlbumArtUtil()
CMPXAlbumArtUtil | ( | ) | [private] |
~CMPXAlbumArtUtil()
IMPORT_C | ~CMPXAlbumArtUtil | ( | ) | |
Member Functions Documentation
CancelRequest()
IMPORT_C void | CancelRequest | ( | ) | |
Cancel outstanding asynch requests
- Since
- S60 3.2.3
ConstructL()
void | ConstructL | ( | ) | [private] |
ExtractAlbumArtL(const CMPXMedia &, MMPXAlbumArtUtilObserver &, const TSize &, TBool, TDisplayMode)
IMPORT_C void | ExtractAlbumArtL | ( | const CMPXMedia & | aProp, |
| MMPXAlbumArtUtilObserver & | aObs, |
| const TSize & | aSize, |
| TBool | aLargestFromCache = ETrue, |
| TDisplayMode | aDisplayMode = EColor64K |
| ) | |
Parameters
const CMPXMedia & aProp | media property. the media must contain the following attributes: TMPXAttribute( KMPXMediaIdMusic, EMPXMediaMusicAlbumArtFileName ) TMPXAttribute( KMPXMediaIdGeneral, EMPXMediaGeneralUri ) |
MMPXAlbumArtUtilObserver & aObs | callback after the operation completed. |
const TSize & aSize | The size of the required destination BMP. |
TBool aLargestFromCache = ETrue | ETrue, get the largest available from image cache, EFalse get the size specified in aSize. |
TDisplayMode aDisplayMode = EColor64K | the display mode of the destination BMP |
ExtractBinaryMetaDataLC(const TDesC &, TMetaDataFieldId)
Extract binary meta data from file
ExtractThumbnailL(const CMPXMedia *)
void | ExtractThumbnailL | ( | const CMPXMedia * | aMedia | ) | [private] |
----------------------------------------------------------------------------- Extract Thumbnail for the current song -----------------------------------------------------------------------------
ThumbnailPreviewReady(MThumbnailData &, TThumbnailRequestId)
Parameters
MThumbnailData & aThumbnail | An object representing the resulting thumbnail. |
TThumbnailRequestId aId | Request ID for the operation |
ThumbnailReady(TInt, MThumbnailData &, TThumbnailRequestId)
Parameters
TInt aError | Error code. |
MThumbnailData & aThumbnail | An object representing the resulting thumbnail. |
TThumbnailRequestId aId | Request ID for the operation. |
Member Data Documentation
TDisplayMode
iDisplayMode
HBufC * iFilename
HBufC * | iFilename | [private] |
TSize
iImageSize
TSize
| iImageSize | [private] |
MMPXAlbumArtUtilObserver * iObserver
MMPXAlbumArtUtilObserver * | iObserver | [private] |
CThumbnailManager * iThumbnailManager
CThumbnailManager * | iThumbnailManager | [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.