CUPnPMpxHelper Class Reference
class CUPnPMpxHelper : public CBase
|
A helper class for some common MPX routines
upnpmusicadapter.lib
-
Since
-
S60 v3.1
Constructor & Destructor Documentation
CUPnPMpxHelper()
CUPnPMpxHelper
|
(
|
)
|
[private]
|
~CUPnPMpxHelper()
~CUPnPMpxHelper
|
(
|
)
|
[virtual]
|
Member Functions Documentation
AddAndOpenL(const TUid &, CMPXMedia &)
Open the collection in embedded mode with a Media Object. see mpxcollectionuihelper in mpxmusicplayer
Parameters
const
TUid
& aHostId
|
Host Process UID to identify this embedded instance
|
CMPXMedia
& aMedia
|
Media Object to open
|
AddPlaylistL(CMPXMedia *)
add a song or a playlist asynchronously. Note: does not take ownership of aMedia object. Caller must delete aMedia after calling this method. see mpxcollectionuihelper in mpxmusicplayer
Parameters
CMPXMedia
* aMedia
|
representation of the media to be added
|
AddTrackL(CMPXMedia *)
Add a song or a playlist synchronously. Note: does not take ownership of aMedia object. Caller must delete aMedia after calling this method. see mpxcollectionhelper in mpxmusicplayer
Parameters
CMPXMedia
* aMedia
|
representation of the media to be added
|
ConstructL(const TUid &)
void
|
ConstructL
|
(
|
const
TUid
&
|
aModeId
|
)
|
[private]
|
FillInPlaylistDetailsL(CMPXMedia &)
void
|
FillInPlaylistDetailsL
|
(
|
CMPXMedia
&
|
aMedia
|
)
|
[protected]
|
retrieve information for the required attributes
FindCollectionIdL(const TDesC &)
TInt
|
FindCollectionIdL
|
(
|
const
TDesC
&
|
aUri
|
)
|
[protected]
|
Retrieve collection from URI
HandleCollectionMediaL(const CMPXMedia &, TInt)
void
|
HandleCollectionMediaL
|
(
|
const
CMPXMedia
&
|
,
|
|
TInt
|
|
|
)
|
[protected, inline]
|
see MMPXCollectionObserver
HandleCollectionMessageL(const TMPXCollectionMessage &)
see MMPXCollectionObserver
HandleCollectionMessageL(const CMPXMessage &)
void
|
HandleCollectionMessageL
|
(
|
const
CMPXMessage
&
|
|
)
|
[protected, inline]
|
see MMPXCollectionObserver
HandleCommandComplete(CMPXCommand *, TInt)
see MMPXCollectionObserver
HandleMediatorPathUpdatedL(CMPXMedia *&, TUid)
void
|
HandleMediatorPathUpdatedL
|
(
|
CMPXMedia
*&
|
,
|
|
TUid
|
|
|
)
|
[protected, inline]
|
HandleOpenL(const CMPXMedia &, TInt, TBool, TInt)
see MMPXCollectionObserver
HandleOpenL(const CMPXCollectionPlaylist &, TInt)
see MMPXCollectionObserver
NewL(const TUid &)
Parameters
const
TUid
& aModeId
|
mode passed to MPX framework
|
Member Data Documentation
MMPXCollectionUtility * iCollectionUtil
MMPXHarvesterUtility * iHarvester
CMPXCollectionMediator * iMediator
MUPnPMpxHelperObserver * iObserver
temporarily stored observer for async operations NOT 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.