CUPnPBrowsePlaylistFiller Class Reference
| class CUPnPBrowsePlaylistFiller : public CUPnPPlayListFiller |
This class continues browse made in browse dialog and places the items in an MPX playlist.
upnpmusicadapter.lib
- Since
- S60 v3.1
Inherits from
- CUPnPBrowsePlaylistFiller
| Protected Member Functions |
|---|
| void | BrowseResponse(const TDesC8 &, TInt, TInt, TInt, const TDesC8 &) |
| void | CreateContainerResponse(TInt, const TDesC8 &) |
| void | DeleteObjectResponse(TInt) |
| void | HandlePeriod() |
| void | MediaServerDisappeared(TUPnPDeviceDisconnectedReason) |
| void | ReserveLocalMSServicesCompleted(TInt) |
| void | SearchCapabilitiesResponse(TInt, const TDesC8 &) |
| void | SearchResponse(const TDesC8 &, TInt, TInt, TInt, const TDesC8 &) |
| Inherited Functions |
|---|
| | CBase::CBase() |
| | CBase::Delete(CBase *) |
| | CBase::Extension_(TUint,TAny *&,TAny *) |
| | CBase::operator new(TUint) |
| | CBase::operator new(TUint,TAny *) |
| | CBase::operator new(TUint,TLeave) |
| | CBase::operator new(TUint,TLeave,TUint) |
| | CBase::operator new(TUint,TUint) |
| | CBase::~CBase() |
| | CUPnPPlayListFiller::CUPnPPlayListFiller() |
| | CUPnPPlayListFiller::ConvertToURI(const TDesC &,const CUpnpObject &,TDes &) |
| | CUPnPPlayListFiller::DoComplete() |
| | CUPnPPlayListFiller::DoFillL(CMPXMediaArray &,const RPointerArray< CUpnpObject > &,TInt) |
| | CUPnPPlayListFiller::DoFillObjectL(CMPXMediaArray &,const CUpnpObject &,TInt) |
| | CUPnPPlayListFiller::Host()const |
| | CUPnPPlayListFiller::InsertObjectL(const CUpnpAVDevice &,const CUpnpObject &) |
| | CUPnPPlayListFiller::NewL() |
| | CUPnPPlayListFiller::ObjectArray() |
| | CUPnPPlayListFiller::SelectedIndex()const |
| | CUPnPPlayListFiller::SetHost(CUPnPMusicAdapter &) |
| | CUPnPPlayListFiller::SetSelectedIndex(TInt) |
| | CUPnPPlayListFiller::SourceDevice() |
| | CUPnPPlayListFiller::~CUPnPPlayListFiller() |
Constructor & Destructor Documentation
CUPnPBrowsePlaylistFiller()
| CUPnPBrowsePlaylistFiller | ( | ) | [private] |
~CUPnPBrowsePlaylistFiller()
| IMPORT_C | ~CUPnPBrowsePlaylistFiller | ( | ) | [virtual] |
Member Functions Documentation
AddMediaToCollectionL(const TDesC8 &)
| void | AddMediaToCollectionL | ( | const TDesC8 & | aBrowseResponse | ) | [private] |
Adds received media to collection
Parameters
| const TDesC8 & aBrowseResponse | |
BrowseResponse(const TDesC8 &, TInt, TInt, TInt, const TDesC8 &)
| void | BrowseResponse | ( | const TDesC8 & | aBrowseResponse, |
| | TInt | aError, |
| | TInt | aMatches, |
| | TInt | aTotalCount, |
| | const TDesC8 & | aUpdateId |
| | ) | [protected] |
CancelFill()
Cancels an ongoing Fill operation.
ConstructL(const TDesC8 &, TInt, TInt)
| void | ConstructL | ( | const TDesC8 & | aContainerId, |
| | TInt | aCachedStartIndex, |
| | TInt | aTotalContainerSize |
| | ) | [private] |
Parameters
| const TDesC8 & aContainerId | the container where to browse |
| TInt aCachedStartIndex | container index of first pre-cached item |
| TInt aTotalContainerSize | total number of items in this container |
CreateContainerResponse(TInt, const TDesC8 &)
| void | CreateContainerResponse | ( | TInt | aError, |
| | const TDesC8 & | aObjectId |
| | ) | [protected] |
DeleteObjectResponse(TInt)
| void | DeleteObjectResponse | ( | TInt | aError | ) | [protected] |
FillL(CUPnPMusicAdapter &, CMPXMediaArray &)
Fill track data into the playlist and continue browsing
HandlePeriod()
| void | HandlePeriod | ( | ) | [protected] |
MediaServerDisappeared(TUPnPDeviceDisconnectedReason)
| void | MediaServerDisappeared | ( | TUPnPDeviceDisconnectedReason | aReason | ) | [protected] |
Parameters
| TUPnPDeviceDisconnectedReason aReason | |
NewL(const TDesC8 &, TInt, TInt)
Parameters
| const TDesC8 & aContainerId | the container where to play |
| TInt aCachedStartIndex | container index of first pre-cached item |
| TInt aTotalContainerSize | total number of items in this container |
PlaylistSize()
Size for which the playlist is to be created. Default implementation returns number of items added in the cache.
ReserveLocalMSServicesCompleted(TInt)
| void | ReserveLocalMSServicesCompleted | ( | TInt | aError | ) | [protected] |
SearchCapabilitiesResponse(TInt, const TDesC8 &)
| void | SearchCapabilitiesResponse | ( | TInt | aError, |
| | const TDesC8 & | aSearchCapabilities |
| | ) | [protected] |
SearchResponse(const TDesC8 &, TInt, TInt, TInt, const TDesC8 &)
| void | SearchResponse | ( | const TDesC8 & | aSearchResponse, |
| | TInt | aError, |
| | TInt | aMatches, |
| | TInt | aTotalCount, |
| | const TDesC8 & | aUpdateId |
| | ) | [protected] |
Member Data Documentation
CUPnPBrowseTimer * iBrowseTimer
MUPnPAVBrowsingSession * iBrowsingSession
TInt
iCachedStartIndex
|
TInt
| iCachedStartIndex | [private] |
Index of the first item in PlaylistFiller's pre-cached list
HBufC8 * iContainerId
Container id where to browse
TInt
iCurrentIndex
|
TInt
| iCurrentIndex | [private] |
Index of next item to fetch from remote mediaserver
TInt
iPlaylistActualSize
|
TInt
| iPlaylistActualSize | [private] |
Playlist size as it items are being dynamically fetched
TInt
iPlaylistInitialSize
|
TInt
| iPlaylistInitialSize | [private] |
Estimated playlist size in creation phase
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.