SecureBlackbox 2020 Kotlin Edition

Questions / Feedback?

Progress Event

Reports the progress of the decryption operation.

Syntax

public open class DefaultPgpreaderEventListener : PgpreaderEventListener {
  ...
  public override fun progress(e: PgpreaderProgressEvent) {}
  ...
}

public class PgpreaderProgressEvent {
  val current: Long
  val total: Long
  var cancel: Boolean
}

Remarks

The component fires this event repeatedly to report the progress of the file extraction 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 extraction process.

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