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
| Public Member Functions |
|---|
| void | BrowseL(const TDesC8 &, const TDesC8 &, TBrowseFlag, TInt, TInt, const TDesC8 &) |
| void | CancelBrowse() |
| void | CancelSearch() |
| void | CreateContainerL(const TDesC8 &, const TDesC8 &, TContainerType) |
| void | DeleteObjectL(const TDesC8 &) |
| void | GetSearchCapabilitiesL() |
|
MUPnPAVBrowsingSessionObserver * | Observer() |
| void | RemoveObserver() |
| void | SearchL(const TDesC8 &, const TDesC8 &, const TDesC8 &, TInt, TInt, const TDesC8 &) |
| void | SetObserver(MUPnPAVBrowsingSessionObserver &) |
Constructor & Destructor Documentation
~MUPnPAVBrowsingSession()
| ~MUPnPAVBrowsingSession | ( | ) | [protected, inline, virtual] |
Member Functions Documentation
BrowseL(const TDesC8 &, const TDesC8 &, TBrowseFlag, TInt, TInt, const TDesC8 &)
Browses the content directory of a given Media Server.
Parameters
| const TDesC8 & aId | Container or object id. |
| const TDesC8 & aFilter | TDesC8& filter |
| TBrowseFlag aBrowseFlag | Metadata or DirectChildren |
| TInt aStartIndex | TInt start index |
| TInt aRequestedCount | TInt requested count |
| const TDesC8 & aSortCriteria | TDesC8& sort criteria |
CancelBrowse()
| void | CancelBrowse | ( | ) | [pure virtual] |
Cancels the browse operation (ignores the result set when it is received).
CancelSearch()
| void | CancelSearch | ( | ) | [pure virtual] |
Cancels the search operation (ignores the result set when it is received).
CreateContainerL(const TDesC8 &, const TDesC8 &, TContainerType)
Creates a new container to the target Media Server.
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 &)
| void | DeleteObjectL | ( | const TDesC8 & | aId | ) | [pure virtual] |
Deletes an UPnP item on the target UPnP media server.
Parameters
| const TDesC8 & aId | id of an object to be destroyed |
GetSearchCapabilitiesL()
| void | GetSearchCapabilitiesL | ( | ) | [pure virtual] |
Gets the search capabilities of the Media Server that has been set as the "source device".
Observer()
Returns the browsing session observer
RemoveObserver()
| void | RemoveObserver | ( | ) | [pure virtual] |
Removes the browsing session observer
SearchL(const TDesC8 &, const TDesC8 &, const TDesC8 &, TInt, TInt, const TDesC8 &)
| void | SearchL | ( | const TDesC8 & | aId, |
| | const TDesC8 & | aSearchCriteria, |
| | const TDesC8 & | aFilter, |
| | TInt | aStartIndex, |
| | TInt | aRequestedCount, |
| | const TDesC8 & | aSortCriteria |
| | ) | [pure virtual] |
Searches the content directory of a given Media Server.
Parameters
| const TDesC8 & aId | container id |
| const TDesC8 & aSearchCriteria | TDesC8& search criteria |
| const TDesC8 & aFilter | TDesC8& filter |
| TInt aStartIndex | TInt start index |
| TInt aRequestedCount | TInt requested count |
| const TDesC8 & aSortCriteria | TDesC8& sort criteria |
SetObserver(MUPnPAVBrowsingSessionObserver &)
Sets the browsing session observer
Member Enumerations Documentation
Enum TBrowseFlag
Defines the type of browse (metadata or direct children)
Enumerators
| EDirectChildren = 0 | |
| EMetadata | |
Enum TContainerType
Defines the container type
Enumerators
| EStorageContainer = 0 | |
| EPlaylistContainer | |
Enum TFileSharing
Defines the sharing status of a downloaded item
Enumerators
| EFileIsShared = 0 | |
| EFileIsNotShared | |
| EShareBySettings | |
Enum TMemoryType
Defines the download location (default, phone memory, memory card or RAM Drive)
Enumerators
| EDefault = 0 | |
| EPhone | |
| EMemoryCard | |
| ERAMDrive | |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.