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 voidAddResElementL(CUpnpItem &, const TDesC &)
IMPORT_C TBoolIsUriAbsolute(const TDesC8 &)

Member Functions Documentation

AddResElementL(CUpnpItem &, const TDesC &)

IMPORT_C voidAddResElementL(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 & aItemUPnP item that needs res element.
const TDesC & aFilenameThe filename of the resource. Full path included.

IsUriAbsolute(const TDesC8 &)

IMPORT_C TBoolIsUriAbsolute(const TDesC8 &aUri)[static]

Checks if the provided uri is absolute uri

Since
Series 60 3.1

Parameters

const TDesC8 & aUriuri