Copyright © 2005-2018 MultiMedia Soft

DownloaderSessionProgress event

Previous pageReturn to chapter overviewNext page

Remarks

 

Occurs during a downloading session, generated by a previous call to one between the Downloader.SessionStartToFile, Downloader.SessionStartToMemory and Downloader.SessionStartToPlayer.methods, to notify the container application about the current advancement.

 

For details about management of download sessions from HTTP and FTP servers, refer to the How to manage download sessions tutorial.

For further details about synchronization through Events see the How to synchronize the container application through events tutorial.

 

 

Syntax

 

[Visual Basic]

Public Event DownloaderSessionProgress As DownloaderSessionProgressEventHandler


 

[C#]

public event DownloaderSessionProgressEventHandler DownloaderSessionProgress;


 

[C++]

public: __event DownloaderSessionProgressEventHandler DownloaderSessionProgress;


 

 

Event Data

 

The event handler receives an argument of type DownloaderSessionProgressEventArgs having the following parameters:

 

Parameter

Description

 

 

nDllSessionUniqueId

Unique identifier of the downloading session generated by a previous call to one between the Downloader.SessionStartToFile, Downloader.SessionStartToMemory and Downloader.SessionStartToPlayer.methods.

nProgressPerc

Advancement of the download session expressed in percentage