onProgress (event)
Reports the data encryption/decryption 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 encrypt/decrypt operation to report its progress.
Use the Cancel parameter to terminate the encryption/decryption if needed.