CUpnpContentRequestAO Class Reference

class CUpnpContentRequestAO : public CActive
Active object class for querying shared content from upnpcontentserver upnpapplicationengine.lib
Since
S60 3.1

Inherits from

Constructor & Destructor Documentation

CUpnpContentRequestAO(CUPnPFileSharingEngine &, RUpnpContentServerClient &)

CUpnpContentRequestAO(CUPnPFileSharingEngine &aEngine,
RUpnpContentServerClient &aContentServer
)
C++ default constructor.
Since
S60 3.1

Parameters

CUPnPFileSharingEngine & aEngineFile sharing engine
RUpnpContentServerClient & aContentServerHandle to upnpcontentserver

~CUpnpContentRequestAO()

~CUpnpContentRequestAO()[virtual]

Destructor.

Member Functions Documentation

DoCancel()

voidDoCancel()[private, virtual]
Cancels active request
Since
S60 3.1

GetSelectionContentL(CDesCArray &)

voidGetSelectionContentL(CDesCArray &aArray)
Get playlist or album names for UI after request, synchronous
Since
S60 3.1

Parameters

CDesCArray & aArrayArray for albums / playlist names

GetSelectionIndexesL(CArrayFix< TInt > &)

voidGetSelectionIndexesL(CArrayFix< TInt > &aCurrentSelection)
Get the selected items for UI after request, synchronous
Since
S60 3.1

Parameters

CArrayFix< TInt > & aCurrentSelectionArray for selection indexes

RequestSelectionContentL(UpnpContentServer::TUpnpMediaType)

voidRequestSelectionContentL(UpnpContentServer::TUpnpMediaTypeaType)
Request playlist or album names for UI from server, asynchronous
Since
S60 3.1

Parameters

UpnpContentServer::TUpnpMediaType aTypeType of selections to request

RequestSelectionIndexesL(UpnpContentServer::TUpnpMediaType)

voidRequestSelectionIndexesL(UpnpContentServer::TUpnpMediaTypeaType)
Request selected items for UI from server, asynchronous
Since
S60 3.1

Parameters

UpnpContentServer::TUpnpMediaType aTypeType of selections to request

RunL()

voidRunL()[private, virtual]
Function is called when active request is ready
Since
S60 3.1

Member Enumerations Documentation

Enum TState

Current state

Enumerators

ENone = 0
ERequestContent
ERequestIndexes

Member Data Documentation

RUpnpContentServerClient & iContentServer

RUpnpContentServerClient &iContentServer[private]

Content server session handle

CUPnPFileSharingEngine & iEngine

CUPnPFileSharingEngine &iEngine[private]

file sharing engine

TState iState

TState iState[private]