UPnPMetadataFetcher Class Reference

class UPnPMetadataFetcher

Static meta data fetching utilities.

upnputilities.lib
Since
S60 3.1
Public Member Functions
IMPORT_C CUpnpItem * CreateItemFromFileL (const TDesC &)
IMPORT_C CUpnpItem * CreateItemFromFileLC (const TDesC &)
IMPORT_C void FetchMetadataL ( CUpnpObject &, const TDesC &, const TDesC8 &)
IMPORT_C void FetchMetadataL ( CUpnpObject &, const TDesC &)

Member Functions Documentation

CreateItemFromFileL(const TDesC &)

IMPORT_C CUpnpItem * CreateItemFromFileL ( const TDesC & aFilePath ) [static]

Creates a new CUpnpItem from a local file. Resolves the metadata and fills in the new CUpnpItem's metadata fields accordingly.

Since
Series 60 3.1

Parameters

const TDesC & aFilePath (const TDesC&) the filepath of the file

CreateItemFromFileLC(const TDesC &)

IMPORT_C CUpnpItem * CreateItemFromFileLC ( const TDesC & aFilePath ) [static]

Creates a new CUpnpItem from a local file. Resolves the metadata and fills in the new CUpnpItem's metadata fields accordingly.

Since
Series 60 3.1

Parameters

const TDesC & aFilePath (const TDesC&) the filepath of the file

FetchMetadataL(CUpnpObject &, const TDesC &, const TDesC8 &)

IMPORT_C void FetchMetadataL ( CUpnpObject & aObject,
const TDesC & aFilePath,
const TDesC8 & aMimeType
) [static]

Resolves the metadata and fills in the CUpnpObject's metadata fields accordingly.

Since
Series 60 3.1

Parameters

CUpnpObject & aObject (CUpnpObject&) the target CUpnpObject
const TDesC & aFilePath (const TDesC&) the filepath of the file
const TDesC8 & aMimeType (const TDesC8&) the mime type of the file

FetchMetadataL(CUpnpObject &, const TDesC &)

IMPORT_C void FetchMetadataL ( CUpnpObject & aObject,
const TDesC & aFilePath
) [static]

Resolves the metadata and fills in the CUpnpObject's metadata fields accordingly.

Since
Series 60 3.1

Parameters

CUpnpObject & aObject (CUpnpObject&) the target CUpnpObject
const TDesC & aFilePath (const TDesC&) the filepath of the file