The capability NetworkServices is required in:
RHttpDownloadMgr::ConnectL( TUid aAppUid, MHttpDownloadMgrObserver& aObserver, TBool aMaster)
|
Public Member Functions |
IMPORT_C | RHttpDownloadMgr () |
| C++ default constructor.
|
IMPORT_C void | ConnectL (TUid aAppUid, MHttpDownloadMgrObserver &aObserver, TBool aMaster) |
| Creates a download manager session.
|
IMPORT_C TVersion | Version () const |
| Gives version information.
|
IMPORT_C void | Close () |
| Closes download manager session.
|
IMPORT_C const CDownloadArray & | CurrentDownloads () const |
| Returns a list of the current downloads.
|
IMPORT_C RHttpDownload & | CreateDownloadL (const TDesC8 &aUrl, TBool &aResult) |
| Creates a new download subsession.
|
IMPORT_C RHttpDownload & | CreateDownloadL (const TDesC8 &aUrl) |
| Creates a new download subsession.
|
IMPORT_C RHttpDownload & | CreateClientSideDownloadL (TInt aHttpTransaction, TBool &aResult) |
| Creates a new download in client side.
|
IMPORT_C RHttpDownload & | CreateCodDownloadL (const TDesC8 &aUrl, const TDesC8 &aBuf, const TDesC8 &aMimeType, CEikonEnv *aEikEnv, TBool &aResult) |
| Creates a new download subsession for COD.
|
IMPORT_C RHttpDownload * | FindDownload (const TDesC8 &aUrl, const TDesC8 &aMsgBody) |
| Finds if the download is already created.
|
IMPORT_C TInt | PauseAll () |
| Pauses all downloads.
|
IMPORT_C TInt | StartAll () |
| Resumes all downloads.
|
IMPORT_C TInt | ResetAll () |
| Resets all downloads.
|
IMPORT_C TInt | DeleteAll () |
| Deletes all downloads.
|
IMPORT_C TInt | Disconnect () |
| Disconnect the http connection and pauses all downloads.
|
IMPORT_C TInt | GetIntAttribute (const TUint aAttribute, TInt32 &aValue) |
| Gets the value for a TInt attribute.
|
IMPORT_C TInt | GetBoolAttribute (const TUint aAttribute, TBool &aValue) |
| Gets the value for a TBool attribute.
|
IMPORT_C TInt | GetStringAttribute (const TUint aAttribute, TDes16 &aValue) |
| Gets the value for a TDes16 attribute.
|
IMPORT_C TInt | GetStringAttribute (const TUint aAttribute, TDes8 &aValue) |
| Gets the value for a TDes8 attribute.
|
IMPORT_C TInt | SetIntAttribute (const TUint aAttribute, TInt32 aValue) |
| Sets the value for a TInt attribute.
|
IMPORT_C TInt | SetBoolAttribute (const TUint aAttribute, TBool aValue) |
| Sets the value for a TBool attribute.
|
IMPORT_C TInt | SetStringAttribute (const TUint aAttribute, const TDesC16 &aValue) |
| Sets the value for a TDesC attribute.
|
IMPORT_C TInt | SetStringAttribute (const TUint aAttribute, const TDesC8 &aValue) |
| Sets the value for a TDesC8 attribute.
|
IMPORT_C TInt | SetDefaultIntAttribute (const TUint aAttribute, TInt32 aValue) |
| Sets the value for the default TInt attribute.
|
IMPORT_C TInt | SetDefaultBoolAttribute (const TUint aAttribute, TBool aValue) |
| Sets the value for the default TBool attribute.
|
IMPORT_C TInt | SetDefaultStringAttribute (const TUint aAttribute, const TDesC16 &aValue) |
| Sets the value for the default TDesC attribute.
|
IMPORT_C TInt | SetDefaultStringAttribute (const TUint aAttribute, const TDesC8 &aValue) |
| Sets the value for the default TDesC8 attribute.
|
IMPORT_C void | AddObserverL (MHttpDownloadMgrObserver &aObserver) |
| Adds client to the observer list.
|
IMPORT_C void | RemoveObserver (MHttpDownloadMgrObserver &aObserver) |
| Removes client from the observer list.
|
IMPORT_C void | SetNextUriObserver (MHttpDownloadMgrNextUriObserver *aObserver) |
| Set next uri observer.
|
Protected Member Functions |
void | HandleDMgrEventL (RHttpDownload &aDownload, THttpDownloadEvent aEvent) |
| Indicates an event.
|
RHttpDownload & | AddToArrayL (RHttpDownload *aElement) |
| Adds the created download to the list.
|
Friends |
class | RHttpDownload |
class | CDownloadMgrHandler |
class | CTransactionObserver |
class | CCodObserver |