Event callbacks in Java (including Android) are supported starting in v184.108.40.206. To receive event callbacks, first create a Java class derived from one of the Chilkat event callback classes. The event callback classes are: CkBaseProgress, CkHttpProgress, CkZipProgress, CkFtp2Progress, CkMailManProgress, CkTarProgress, and CkSFtpProgress. All future Chilkat classes will only use CkBaseProgress. Theses event callback classes will be documented in the “Events” […]
Demonstrates a TaskCompleted event for an asynchronous Chilkat method call. The event callback occurs in the background thread, and therefore any updates to the UI must happen on the UI thread. For this reason, MethodInvoker is used to make updates to a TextBox..
This sample C# snippet demonstrates how to use the TaskCompleted event to be notified when an asynchronous method completes. Given that the event callback is in the background thread, any UI updates must occur on the main thread. This example demonstrates how to do it: