SecureBlackbox 2020 Python Edition

Questions / Feedback?

on_progress Event

Reports the progress of the decryption operation.

Syntax

class PGPReaderProgressEventParams(object):
  @property
  def current() -> int: ...
  @property
  def total() -> int: ...
  @property
  def cancel() -> bool: ...
  @cancel.setter
  def cancel(value) -> None: ...

# In class PGPReader:
@property
def on_progress() -> Callable[[PGPReaderProgressEventParams], None]: ...
@on_progress.setter
def on_progress(event_hook: Callable[[PGPReaderProgressEventParams], None]) -> None: ...

Remarks

The class 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 Python Edition - Version 20.0 [Build 8154]