MUPnPItemResolver Class Reference

class MUPnPItemResolver

An interface for resolving either remote or local content. The interface takes in some identification of the content, resolves the content and asynchronously notifies when the content is available. The content itself is provided by CUpnpItem , which contains item metadata, resource and URI, and it can be used directly in AVController interface to play content on remote renderer or download content.

upnpavcontrollerhelper.lib
Since
S60 3.2

Constructor & Destructor Documentation

~MUPnPItemResolver()

~MUPnPItemResolver ( ) [inline, virtual]

virtual destructor for deleting the resolver implementation using the API pointer

Member Functions Documentation

Item()

const CUpnpItem & Item ( ) const [pure virtual]

access to the resolved item. Note that if the object represents an item, it is not necessarily safe to query the resource in this item, instead you should use this item to query all metadata. Use this method after receiving MetadataBrowseComplete( KErrNone )

ResolveL(MUPnPItemResolverObserver &)

void ResolveL ( MUPnPItemResolverObserver & aObserver ) [pure virtual]
Starts resolving an object id using given session. given Callback is notified when result objects are available, or in case of an error.
Since
S60 3.2

Parameters

MUPnPItemResolverObserver & aObserver interface that will receive result callback

Resource()

const CUpnpElement & Resource ( ) const [pure virtual]

access to the pointed item's resource. The resource may be in the original or in the pointed item. This is the easiest and recommended way for accessing the resource. example: const TDesC& uri = browseUtil->Res(). Value() ; Use this method after receiving MetadataBrowseComplete( KErrNone )