CUPnPDownloadItemResolver Class Reference
class CUPnPDownloadItemResolver : public CBase
|
Resolves remote upnp items from a plain item id. This resolving is done by executing a upnp metadata browse, or possibly several ones of those.
upnpavcontrollerhelper.lib
-
Since
-
S60 3.2
Inherits from
-
CUPnPDownloadItemResolver
Constructor & Destructor Documentation
CUPnPDownloadItemResolver(const TDesC8 &, MUPnPAVController &, MUPnPAVBrowsingSession &, MUPnPResourceSelector &, const TDesC8 &)
~CUPnPDownloadItemResolver()
~CUPnPDownloadItemResolver
|
(
|
)
|
[virtual]
|
Member Functions Documentation
Cleanup()
void
|
Cleanup
|
(
|
)
|
[private]
|
Complete(TInt)
void
|
Complete
|
(
|
TInt
|
aError
|
)
|
[private]
|
Completes ongoing async operation
ConstructL(const TDesC8 &, MUPnPAVController &, MUPnPAVBrowsingSession &, MUPnPResourceSelector &, const TDesC8 &)
CreateRFile(const TDesC &)
TInt
|
CreateRFile
|
(
|
const
TDesC
&
|
aFilePath
|
)
|
[private]
|
CreateTmpFileNameL()
HBufC
*
|
CreateTmpFileNameL
|
(
|
)
|
[private]
|
Create temporary file name for file to be download. Format is upnpfwtemp<item_id><file extension>=""> The following characters are replaced with an underscore: >, <, ", \, /, *, |, * : and ?
DeleteTempDownloadFilesL()
IMPORT_C void
|
DeleteTempDownloadFilesL
|
(
|
)
|
[static]
|
Delete upnp genereated temporary files from download locations Leave in case of fatal errors
GetSelectedDownloadLocationL()
HBufC
*
|
GetSelectedDownloadLocationL
|
(
|
)
|
[private]
|
Get selected download location from settings engine.
InitiateDownloadL()
void
|
InitiateDownloadL
|
(
|
)
|
[private]
|
Starts download when the remote item itself has been resolved using the remote resolver
IsLocallySupportedL(const CUpnpElement &)
void
|
IsLocallySupportedL
|
(
|
const
CUpnpElement
&
|
aRes
|
)
|
[private]
|
Check if the audio is DLNA supported in remote to local playback
-
Since
-
Series 60 3.1
MediaServerDisappeared(TUPnPDeviceDisconnectedReason)
void
|
MediaServerDisappeared
|
(
|
TUPnPDeviceDisconnectedReason
|
aReason
|
)
|
[protected]
|
Parameters
TUPnPDeviceDisconnectedReason aReason
|
|
NewL(const TDesC8 &, MUPnPAVController &, MUPnPAVBrowsingSession &, MUPnPResourceSelector &, const TDesC8 &)
ResolveComplete(const MUPnPItemResolver &, TInt)
ResolveL(MUPnPItemResolverObserver &)
TransferCompleted(TInt, TInt, const TDesC &)
void
|
TransferCompleted
|
(
|
TInt
|
aKey,
|
|
TInt
|
aStatus,
|
|
const
TDesC
&
|
aFilePath
|
|
)
|
[protected]
|
TransferProgress(TInt, TInt, TInt)
void
|
TransferProgress
|
(
|
TInt
|
aKey,
|
|
TInt
|
aBytes,
|
|
TInt
|
aTotalBytes
|
|
)
|
[protected]
|
TransferStarted(TInt, TInt)
void
|
TransferStarted
|
(
|
TInt
|
aKey,
|
|
TInt
|
aStatus
|
|
)
|
[protected]
|
Member Enumerations Documentation
Enum TInternalState
Enumerators
EStateIdle
|
|
EStateResolving
|
|
EStateDownloading
|
|
EStateReady
|
|
Member Data Documentation
MUPnPAVController & iAvController
MUPnPFileDownloadSession * iDownloadSession
HBufC * iLocalFile
HBufC
*
|
iLocalFile
|
[private]
|
MUPnPItemResolverObserver * iObserver
CUpnpAVDevice * iRemoteDevice
CUPnPRemoteItemResolver * iRemoteResolver
MUPnPResourceSelector & iSelector
CUPnPSettingsEngine * iSettingsEngine
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.