Table of Contents

Delegate FileDownloadManager.DownloadProgressChangedEventHandler

Namespace
Emgu.Util
Assembly
Emgu.CV.dll

The call back when download progress has been changed.

public delegate void FileDownloadManager.DownloadProgressChangedEventHandler(long? totalBytesToReceive, long bytesReceived, double? progressPercentage)

Parameters

totalBytesToReceive long?

The total number of bytes to receive. If null, it is unknown.

bytesReceived long

The total number of bytes currently received.

progressPercentage double?

The progress percentage. If null, it is unknown.

Constructors

DownloadProgressChangedEventHandler(object, nint)

public DownloadProgressChangedEventHandler(object @object, nint method)

Parameters

object object
method nint

Methods

BeginInvoke(long?, long, double?, AsyncCallback, object)

public virtual IAsyncResult BeginInvoke(long? totalBytesToReceive, long bytesReceived, double? progressPercentage, AsyncCallback callback, object @object)

Parameters

totalBytesToReceive long?
bytesReceived long
progressPercentage double?
callback AsyncCallback
object object

Returns

IAsyncResult

EndInvoke(IAsyncResult)

public virtual void EndInvoke(IAsyncResult result)

Parameters

result IAsyncResult

Invoke(long?, long, double?)

public virtual void Invoke(long? totalBytesToReceive, long bytesReceived, double? progressPercentage)

Parameters

totalBytesToReceive long?
bytesReceived long
progressPercentage double?