public delegate bool TransferEventHandler(
- sender: The source of the event.
- done: This handler can be called multiple times. On success, the last call will have done=true.
- transferStat: A TransferStat.
Return false to cancel the transfer.
Reports the progress of a file download/upload. The handler may be called multiple times. On success the last call will have done=true. If you return false or if an error occurs, the transfer is canceled.