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,
TInt aOptimisationFlags = 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 & aItemId the item ID to resolve into an item
MUPnPAVController & aAvController AVController resource to reserve local media server
MUPnPAVBrowsingSession & aHostSession the session where to resolve items
MUPnPResourceSelector & aSelector selects the desider resource
const TDesC8 & aBrowseFilter filter to be used in browse
TInt aOptimisationFlags = ENoOptimisation flags to optimise resolver behaviour

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

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

Creates a resolver for local content

Parameters

const TDesC & aFilePath the local file to be resolved into an item
MUPnPAVController & aAvController AVController resource to reserve local media server
MUPnPResourceSelector & aSelector selects the desider resource
TInt aOptimisationFlags = ENoOptimisation flags 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,
TInt aOptimisationFlags = ENoOptimisation
) [static]

Creates a resolver for remote content

Parameters

const TDesC8 & aItemId the item ID to resolve into an item
MUPnPAVBrowsingSession & aHostSession the session where to resolve items
MUPnPResourceSelector & aSelector selects the desider resource
const TDesC8 & aBrowseFilter filter to be used in browse
TInt aOptimisationFlags = ENoOptimisation flags to optimise resolver behaviour

Member Enumerations Documentation

Enum TResolverOptimisationFlags

The optimisation flags

Enumerators

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