Is there a way to know when Application.Download has finished downloading a file? I saw that there is an Action parameter but I can’t find any documentation. I read this https://docs.wisej.com/api/wisej.web/general/application but it doesn’t help me.
How can I do that?
Thanks.
Hi Francesco,
You’ll need to define a method first, like the following example:
private void OnDownloaded(string obj)
{
AlertBox.Show("Download Finished");
}
Then, all you have to do is to call it in Application.Download like this:
Application.Download("file_path", ondownload: OnDownloaded);
Best Regards,
Alaa
Please login first to submit.