Signature for a function which is called when the download state of a task with id changes.
id
typedef DownloadCallback = void Function( String id, int status, int progress, );