onProgress (event)
Reports the data transfer progress.
Syntax
- (void)onProgress:(long long)total :(long long)current :(int*)cancel;
func onProgress(_ total: Int64, _ current: Int64, _ cancel: inout Int32)
Remarks
This event fires periodically during a file transfer operation to report its progress.
Use the Cancel parameter to terminate the transfer if needed.