Progress Event
Reports the progress of data compression.
Syntax
public open class DefaultArchivewriterEventListener : ArchivewriterEventListener { ... public override fun progress(e: ArchivewriterProgressEvent) {} ... } public class ArchivewriterProgressEvent { val processed: Long val total: Long val overallProcessed: Long val overallTotal: Long var cancel: Boolean }
Remarks
Subscribe to this event to be notified about compression progress.
Processed and Total report the progress of compression of the current entry; OverallProcessed and OverallTotal report the progress of the whole operation. Set Cancel to true to stop the operation.