class CUpnpCopyCommand : public CBase |
Public Member Functions | |
---|---|
~CUpnpCopyCommand () | |
IMPORT_C void | CopyFilesL ( CDesCArrayFlat *) |
IMPORT_C void | CopyPlaylistL (const TDesC &, CDesCArrayFlat *) |
IMPORT_C TBool | IsAvailableL () |
IMPORT_C CUpnpCopyCommand * | NewL () |
Private Member Functions | |
---|---|
CUpnpCopyCommand () | |
void | ConstructL () |
Private Attributes | |
---|---|
CUpnpCommand * | iCommand |
IMPORT_C void | CopyFilesL | ( | CDesCArrayFlat * | aFiles | ) |
Copies the given list of files to a remote Upnp Media Server. The method is synchronous. The target server device will be queried from the user using an UI component.
The files that are successfully copied are removed from the array. DRM protected files are skipped (not copied and left in the array)
Leaves if the operation fails. Standard system wide (e32err.h) error codes will be used.
CDesCArrayFlat * aFiles | (CDesCArrayFlat*) list of filenames (including path) |
IMPORT_C void | CopyPlaylistL | ( | const TDesC & | aPlaylistName, |
CDesCArrayFlat * | aFiles | |||
) |
Copies the given playlist (playlist name + filenames) to a remote Upnp Media Server. The method is synchronous. The target server device will be queried from the user using an UI component.
The files that are successfully copied are removed from the array. DRM protected files are skipped (not copied and left in the array).
Leaves if the operation fails. Standard system wide (e32err.h) error codes will be used.
const TDesC & aPlaylistName | (const TDesC&) name of the playlist |
CDesCArrayFlat * aFiles | (CDesCArrayFlat*) list of filenames (including path) |
IMPORT_C TBool | IsAvailableL | ( | ) | [static] |
Returns the availability information of the command.
IMPORT_C CUpnpCopyCommand * | NewL | ( | ) | [static] |
Creates a new UpnpCommand for file copying purposes. Does not instantiate Upnp Framework services yet at this point.
Leaves with KErrNotReady if Upnp dedicated IAP is not set, or with using standard e32err.h error code if construction fails.
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.