MUPnPAVBrowsingSession Class Reference

class MUPnPAVBrowsingSession : public MUPnPAVSessionBase

AV Controller browsing session interface.

This class defines the browsing interface of AV Controller. Includes operations to search, browse, copy, create container, delete object and to get search capabilities.

upnpavcontrollerclient.lib
Since
S60 v3.1

Inherits from

Constructor & Destructor Documentation

~MUPnPAVBrowsingSession()

~MUPnPAVBrowsingSession()[protected, inline, virtual]

Member Functions Documentation

BrowseL(const TDesC8 &, const TDesC8 &, TBrowseFlag, TInt, TInt, const TDesC8 &)

voidBrowseL(const TDesC8 &aId,
const TDesC8 &aFilter,
TBrowseFlagaBrowseFlag,
TIntaStartIndex,
TIntaRequestedCount,
const TDesC8 &aSortCriteria
)[pure virtual]

Browses the content directory of a given Media Server.

Since
Series 60 3.1

Parameters

const TDesC8 & aIdContainer or object id.
const TDesC8 & aFilterTDesC8& filter
TBrowseFlag aBrowseFlagMetadata or DirectChildren
TInt aStartIndexTInt start index
TInt aRequestedCountTInt requested count
const TDesC8 & aSortCriteriaTDesC8& sort criteria

CancelBrowse()

voidCancelBrowse()[pure virtual]

Cancels the browse operation (ignores the result set when it is received).

Since
Series 60 3.1

CancelSearch()

voidCancelSearch()[pure virtual]

Cancels the search operation (ignores the result set when it is received).

Since
Series 60 3.1

CreateContainerL(const TDesC8 &, const TDesC8 &, TContainerType)

voidCreateContainerL(const TDesC8 &aTitle,
const TDesC8 &aParentId,
TContainerTypeaContainerType
)[pure virtual]

Creates a new container to the target Media Server.

Since
Series 60 3.1

Parameters

const TDesC8 & aTitle(const TDesC8&) title for the new container
const TDesC8 & aParentId(const TDesC8&) container ID of the container into which the new container is to be created
TContainerType aContainerType(TContainerType) type of the new container

DeleteObjectL(const TDesC8 &)

voidDeleteObjectL(const TDesC8 &aId)[pure virtual]

Deletes an UPnP item on the target UPnP media server.

Since
Series 60 3.1

Parameters

const TDesC8 & aIdid of an object to be destroyed

GetSearchCapabilitiesL()

voidGetSearchCapabilitiesL()[pure virtual]

Gets the search capabilities of the Media Server that has been set as the "source device".

Since
Series 60 3.1

Observer()

MUPnPAVBrowsingSessionObserver *Observer()const [pure virtual]

Returns the browsing session observer

Since
Series 60 3.1

RemoveObserver()

voidRemoveObserver()[pure virtual]

Removes the browsing session observer

Since
Series 60 3.1

SearchL(const TDesC8 &, const TDesC8 &, const TDesC8 &, TInt, TInt, const TDesC8 &)

voidSearchL(const TDesC8 &aId,
const TDesC8 &aSearchCriteria,
const TDesC8 &aFilter,
TIntaStartIndex,
TIntaRequestedCount,
const TDesC8 &aSortCriteria
)[pure virtual]

Searches the content directory of a given Media Server.

Since
Series 60 3.1

Parameters

const TDesC8 & aIdcontainer id
const TDesC8 & aSearchCriteriaTDesC8& search criteria
const TDesC8 & aFilterTDesC8& filter
TInt aStartIndexTInt start index
TInt aRequestedCountTInt requested count
const TDesC8 & aSortCriteriaTDesC8& sort criteria

SetObserver(MUPnPAVBrowsingSessionObserver &)

voidSetObserver(MUPnPAVBrowsingSessionObserver &aObserver)[pure virtual]

Sets the browsing session observer

Since
Series 60 3.1

Parameters

MUPnPAVBrowsingSessionObserver & aObserverbrowsing session observer

Member Enumerations Documentation

Enum TBrowseFlag

Defines the type of browse (metadata or direct children)

Since
Series 60 3.1

Enumerators

EDirectChildren = 0
EMetadata

Enum TContainerType

Defines the container type

Since
Series 60 3.1

Enumerators

EStorageContainer = 0
EPlaylistContainer

Enum TFileSharing

Defines the sharing status of a downloaded item

Since
Series 60 3.1

Enumerators

EFileIsShared = 0
EFileIsNotShared
EShareBySettings

Enum TMemoryType

Defines the download location (default, phone memory, memory card or RAM Drive)

Since
Series 60 3.1

Enumerators

EDefault = 0
EPhone
EMemoryCard
ERAMDrive