CUPnPFileSharingEngine Class Reference
class CUPnPFileSharingEngine : public CBase
|
File sharing engine class for UPnP Home Connect Application upnpapplicationengine.lib
-
Since
-
S60 3.1
Constructor & Destructor Documentation
CUPnPFileSharingEngine()
CUPnPFileSharingEngine
|
(
|
)
|
[private]
|
~CUPnPFileSharingEngine()
IMPORT_C
|
~CUPnPFileSharingEngine
|
(
|
)
|
[virtual]
|
Destructor.
-
Since
-
S60 3.1
Member Functions Documentation
ConnectionLost()
void
|
ConnectionLost
|
(
|
)
|
[private]
|
ConstructL()
void
|
ConstructL
|
(
|
)
|
[private]
|
By default Symbian 2nd phase constructor is private.
CopyCdescArrayL(const CDesCArray &, CDesCArray &)
Helper function to copy descriptors between arrays of CDesCArrays
-
Since
-
S60 3.1
CopyTintArrayL(const CArrayFix< TInt > &, CArrayFix< TInt > &)
Helper function to copy TInts between arrays of
CArrayFix<TInt>
&
-
Since
-
S60 3.1
GetSelectionContentL(CDesCArray &)
IMPORT_C void
|
GetSelectionContentL
|
(
|
CDesCArray
&
|
aArray
|
)
|
const
|
Gets the album /playlist names from upnpcontentserver once ready
-
Since
-
S60 3.1
Parameters
CDesCArray
& aArray
|
Array containng the names for the UI
|
GetSelectionIndexesL(CArrayFix< TInt > &)
IMPORT_C void
|
GetSelectionIndexesL
|
(
|
CArrayFix
<
TInt
> &
|
aMarkedItems
|
)
|
const
|
Gets the selected albums/playlist indexes
-
Since
-
S60 3.1
Parameters
CArrayFix
<
TInt
> & aMarkedItems
|
The indexes of the selections user has made\ relative to selections received from GetSelectionContentL
|
NewL()
Two-phased constructor.
-
Since
-
S60 3.1
NewLC()
Two-phased constructor.
-
Since
-
S60 3.1
RefreshSharedMediaL(THomeConnectMediaType)
RequestSelectionContentL(THomeConnectMediaType)
RequestSelectionIndexesL(THomeConnectMediaType)
RequestSharingProgressL()
IMPORT_C void
|
RequestSharingProgressL
|
(
|
)
|
|
Request information about sharing statuses / progress from the contentserver. The information is received via callback
-
Since
-
S60 3.1
SetConMonStateL(TBool, TRequestStatus &)
Start or stop connection monitoring
-
Since
-
S60 3.1
Parameters
TBool
aState
|
ETrue = Start, EFalse = Stop
|
TRequestStatus
& aStatus
|
TRequestStatus for async operation
|
SetObserver(MUPnPFileSharingEngineObserver *)
Sets observer for active object
-
Since
-
S60 3.1
SetSelectionIndexesL(THomeConnectMediaType, const CArrayFix< TInt > &)
Sets the user selections
-
Since
-
S60 3.1
Parameters
THomeConnectMediaType
aType
|
Type of media selected
|
const
CArrayFix
<
TInt
> & aMarkedItems
|
The indexes of the selections user has made\ relative to selections received from GetSelectionContentL
|
SetShareFileComplete(TBool)
void
|
SetShareFileComplete
|
(
|
TBool
|
aShareState
|
)
|
|
Set share file completed flag
-
Since
-
S60 3.2.3
Parameters
TBool
aShareState
|
set ETrue indicate imageandvideo or playlist shared completely, perhaps both of them shared completely. EFalse indicate imageandvideo or playlist shared incompletely, perhaps both of them shared completely.
|
SetSharingStateL(TBool)
IMPORT_C void
|
SetSharingStateL
|
(
|
TBool
|
aState
|
)
|
|
Parameters
TBool
aState
|
ETrue to enable sharing, otherwise EFalse
|
ShareMediaL(THomeConnectMediaType)
SharingStateL()
IMPORT_C
TBool
|
SharingStateL
|
(
|
)
|
|
Gets file sharing state from local MediaServer
-
Since
-
S60 3.1
StartUploadListenerL()
IMPORT_C void
|
StartUploadListenerL
|
(
|
)
|
|
Starts upload listener. Leave in case of error
-
Since
-
S60 3.1
StopUploadListenerL()
IMPORT_C void
|
StopUploadListenerL
|
(
|
)
|
|
Stops upload listener. Leave in case of error
-
Since
-
S60 3.1
Member Data Documentation
CUPnPFileSharingEngineAO * iAO
CUPnPFileSharingEngineAO *
|
iAO
|
[private]
|
Active object for asynchronous file sharing
CUPnPConnectionMonitor * iConnMon
CUpnpContentRequestAO * iContentRequestor
Active object class retrieving information about selections and content from upnpcontentserver
RUpnpContentServerClient
iContentServer
Client side handle to upnpcontentserver
CUpnpContentShareAO * iContentSharer
CUpnpContentShareAO *
|
iContentSharer
|
[private]
|
Active object for asynchronous get responce from content server Owned.
CArrayFixFlat< TInt > * iImageSelections
CArrayFixFlat< TInt > * iMusicSelections
MUPnPFileSharingEngineObserver * iObserver
Observer for file sharing state
CUpnpProgressWatcher * iProgress
CUpnpProgressWatcher *
|
iProgress
|
[private]
|
Active object handling querying progress
TBool
iShareFileState
TBool
|
iShareFileState
|
[private]
|
Set share file completed flag.
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.