UpnpCdsResElementUtility Class Reference

class UpnpCdsResElementUtility

CUpnpCdsResElementUtility provides utility functions for dealing with UPnP res (resource) elements.

upnputilities.lib
Since
Series 60 3.1
Public Member Functions
IMPORT_C void AddResElementL ( CUpnpItem &, const TDesC &)
IMPORT_C TBool IsUriAbsolute (const TDesC8 &)

Member Functions Documentation

AddResElementL(CUpnpItem &, const TDesC &)

IMPORT_C void AddResElementL ( CUpnpItem & aItem,
const TDesC & aFilename
) [static]

Adds a res tag to an existing UPnP item. Res tag has always protocolinfo and size parameters. Image files will have resolution parameter and audio&video files will have duration parameter filled.

Since
Series 60 3.1

Parameters

CUpnpItem & aItem UPnP item that needs res element.
const TDesC & aFilename The filename of the resource. Full path included.

IsUriAbsolute(const TDesC8 &)

IMPORT_C TBool IsUriAbsolute ( const TDesC8 & aUri ) [static]

Checks if the provided uri is absolute uri

Since
Series 60 3.1

Parameters

const TDesC8 & aUri uri