Progress Event
Reports the data encryption/decryption progress.
Syntax
public open class DefaultSymmetriccryptoEventListener : SymmetriccryptoEventListener { ... public override fun progress(e: SymmetriccryptoProgressEvent) {} ... } public class SymmetriccryptoProgressEvent { val total: Long val current: Long var cancel: Boolean }
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.