UPnPItemResolverFactory Class Reference

class UPnPItemResolverFactory

Factory class for constructing MUPnPItemResolver implementations. This class only contains static methods.

upnpavcontrollerhelper.lib
Since
S60 3.2

Member Functions Documentation

NewDownloadItemResolverL(const TDesC8 &, MUPnPAVController &, MUPnPAVBrowsingSession &, MUPnPResourceSelector &, const TDesC8 &, TInt)

IMPORT_C MUPnPItemResolver *NewDownloadItemResolverL(const TDesC8 &aItemId,
MUPnPAVController &aAvController,
MUPnPAVBrowsingSession &aHostSession,
MUPnPResourceSelector &aSelector,
const TDesC8 &aBrowseFilter,
TIntaOptimisationFlags = ENoOptimisation
)[static]

Creates a resolver for remote content that will be resolved and then downloaded to a temporary file in local file system

Parameters

const TDesC8 & aItemIdthe item ID to resolve into an item
MUPnPAVController & aAvControllerAVController resource to reserve local media server
MUPnPAVBrowsingSession & aHostSessionthe session where to resolve items
MUPnPResourceSelector & aSelectorselects the desider resource
const TDesC8 & aBrowseFilterfilter to be used in browse
TInt aOptimisationFlags = ENoOptimisationflags to optimise resolver behaviour

NewLocalItemResolverL(const TDesC &, MUPnPAVController &, MUPnPResourceSelector &, TInt)

IMPORT_C MUPnPItemResolver *NewLocalItemResolverL(const TDesC &aFilePath,
MUPnPAVController &aAvController,
MUPnPResourceSelector &aSelector,
TIntaOptimisationFlags = ENoOptimisation
)[static]

Creates a resolver for local content

Parameters

const TDesC & aFilePaththe local file to be resolved into an item
MUPnPAVController & aAvControllerAVController resource to reserve local media server
MUPnPResourceSelector & aSelectorselects the desider resource
TInt aOptimisationFlags = ENoOptimisationflags to optimise resolver behaviour

NewRemoteItemResolverL(const TDesC8 &, MUPnPAVBrowsingSession &, MUPnPResourceSelector &, const TDesC8 &, TInt)

IMPORT_C MUPnPItemResolver *NewRemoteItemResolverL(const TDesC8 &aItemId,
MUPnPAVBrowsingSession &aHostSession,
MUPnPResourceSelector &aSelector,
const TDesC8 &aBrowseFilter,
TIntaOptimisationFlags = ENoOptimisation
)[static]

Creates a resolver for remote content

Parameters

const TDesC8 & aItemIdthe item ID to resolve into an item
MUPnPAVBrowsingSession & aHostSessionthe session where to resolve items
MUPnPResourceSelector & aSelectorselects the desider resource
const TDesC8 & aBrowseFilterfilter to be used in browse
TInt aOptimisationFlags = ENoOptimisationflags to optimise resolver behaviour

Member Enumerations Documentation

Enum TResolverOptimisationFlags

The optimisation flags

Enumerators

ENoOptimisation = 0x0000
EOmitLocalMSStart = 0x0001
EOmitDrmCheck = 0x0002