e-CryptIt Engine - Compression Xojo Plugin

LZMA2.SetProgressHandler Method

Sets progress hander for the class. (Optional)

SetProgressHandler(
   progressHandler as IProgressHandlerV2)

Parameters

progressHandler
A class instance that implements the IProgressHandlerV2 interface.

Remarks

If a progress handler is set then the AllowYield property is ignored as your handler automatically yields unless you use Pragma’s in your handler to turn it off.

In the progress info routine then the LZMA2 class will deliver data as follows:

  • Value: Total bytes processed so far from the input.
  • Total: Total bytes in the input source.
  • Extra info: Total bytes written to the output.

    See Also

    LZMA2 Class