SecureBlackbox Lite 2020 Kotlin Edition

Questions / Feedback?

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.

Copyright (c) 2022 /n software inc. - All rights reserved.
SecureBlackbox Lite 2020 Kotlin Edition - Version 20.0 [Build 8063]