CUPnPAlbumServices Class Reference
class CUPnPAlbumServices : public CBase |
A class providing abstract album (image/video) handling services.
upnpmusicadapter.lib
- Since
- S60 v3.1
Constructor & Destructor Documentation
CUPnPAlbumServices()
CUPnPAlbumServices | ( | ) | [private] |
~CUPnPAlbumServices()
~CUPnPAlbumServices | ( | ) | [virtual] |
Member Functions Documentation
ConstructL()
void | ConstructL | ( | ) | [private] |
Desc2Id(const TDesC &)
Converts an ID from descriptor form to TMPXItemId form. conversion is guaranteed symmetric to Id2Desc()
Parameters
const TDesC & aDesc | the id as a descriptor |
DoHandleCollectionMessageL(CMPXMessage *)
void | DoHandleCollectionMessageL | ( | CMPXMessage * | aMsg | ) | [private] |
Locally handles the corresponding callback
HandleCollectionMediaL(const CMPXMedia &, TInt)
see MMPXCollectionObserver
HandleCollectionMessage(CMPXMessage *, TInt)
see MMPXCollectionObserver
HandleOpenL(const CMPXMedia &, TInt, TBool, TInt)
see MMPXCollectionObserver
HandleOpenL(const CMPXCollectionPlaylist &, TInt)
see MMPXCollectionObserver
Id2Desc(const TMPXItemId &)
Converts an ID from TMPXItemId form to descriptor form. conversion is guaranteed symmetric to Desc2Id()
IsValidAlbumL(const TDesC &)
IMPORT_C TBool | IsValidAlbumL | ( | const TDesC & | aAlbumName | ) | |
Checks if the given album exists in the library. Note: does not check the existence of the actual media
Parameters
const TDesC & aAlbumName | name of the album |
ListAlbumsL(CDesCArray &, CDesCArray &)
Lists all albums in the library. Returns a list of albums ID's and a names. ID can be used to open or modify the album.
Parameters
CDesCArray & aAlbumIds | array to receive album ID's |
CDesCArray & aAlbumNames | array to receive album names |
OpenAlbumL(const TDesC &, CDesCArray &)
Retrieves contents (image/video) of given album.
Parameters
const TDesC & aAlbumId | ID of the album |
CDesCArray & aContentMedia | array to receive the content file paths |
Member Data Documentation
MMPXCollectionUtility * iCollectionUtility
Collection utility of MPX framework (Owned)
TBuf< KBufferSize > iTempBuffer
temp buffer used in Id2Desc
CActiveSchedulerWait * iWait
Scheduler wait loop (Owned)
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.