SecureBlackbox 2020 Android Edition

Questions / Feedback?

Progress Event

Reports the progress of data compression.

Syntax

public class DefaultArchivewriterEventListener implements ArchivewriterEventListener {
  ...
  public void progress(ArchivewriterProgressEvent e) {}
  ...
}

public class ArchivewriterProgressEvent {
  public long processed;
  public long total;
  public long overallProcessed;
  public long overallTotal;
  public boolean cancel;
}

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 2020 Android Edition - Version 20.0 [Build 8156]