"downloadStatusUpdated"

This event is triggered whenever the status of a download changes (for example, when a download starts, finishes, is canceled, or gets interrupted). It only works if the property acceptDownloads is set to TRUE.

Synopsis

downloadStatusUpdated(uint downloadId, string filepath, int state, mapping params);

Parameters

Parameter Description
downloadId The ID of the download you want to resume. This ID is provided in the downloadStatusUpdated event.
filePath The absolute path to the file.
state The new state of the download. For more details, see the QT Documentation.
params Additional parameters.

Details

The params mapping contains the following elements:

  • string mimeType
  • string downloadDirectory
  • string downloadFileName
  • ulong totalBytes
  • int interruptReason (see the QT Documentation)
  • string interruptReasonString
  • string url

Assignment

WebView EWO