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 & aEngine File sharing engine
RUpnpContentServerClient & aContentServer Handle to upnpcontentserver

~CUpnpContentRequestAO()

~CUpnpContentRequestAO ( ) [virtual]

Destructor.

Member Functions Documentation

DoCancel()

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

GetSelectionContentL(CDesCArray &)

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

Parameters

CDesCArray & aArray Array for albums / playlist names

GetSelectionIndexesL(CArrayFix< TInt > &)

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

Parameters

CArrayFix < TInt > & aCurrentSelection Array for selection indexes

RequestSelectionContentL(UpnpContentServer::TUpnpMediaType)

void RequestSelectionContentL ( UpnpContentServer::TUpnpMediaType aType )
Request playlist or album names for UI from server, asynchronous
Since
S60 3.1

Parameters

UpnpContentServer::TUpnpMediaType aType Type of selections to request

RequestSelectionIndexesL(UpnpContentServer::TUpnpMediaType)

void RequestSelectionIndexesL ( UpnpContentServer::TUpnpMediaType aType )
Request selected items for UI from server, asynchronous
Since
S60 3.1

Parameters

UpnpContentServer::TUpnpMediaType aType Type of selections to request

RunL()

void RunL ( ) [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]