onProgress (event)
Reports the progress of the decryption operation.
Syntax
- (void)onProgress:(long long)current :(long long)total :(int*)cancel;
func onProgress(_ current: Int64, _ total: Int64, _ cancel: inout Int32)
Remarks
The class fires this event repeatedly to report the progress of the file protection operation.
Current indicates the amount of processed data in bytes, and Total is the total number of bytes to be processed. Use Cancel to terminate the protection process.