Delegate FileDownloadManager.DownloadProgressChangedEventHandler
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
longThe 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
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
longprogressPercentage
double?callback
AsyncCallbackobject
object
Returns
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)