![]() | InDesign SDK 20.5 |
#include <IIdleTask.h>
Public Member Functions | |
| virtual uint32 | operator() (IdleTimerCompletionType completionType=IdleTimerCompletionType::kDefault)=0 |
| virtual void | LogString (const char *)=0 |
Used as a callback for long tasks so that they can pause and return control if they need to.
| pure virtual |
String indicating why the task is out of time.
| pure virtual |
Method to be called which will determine if the idle task needs to stop.
| completionType | (optional parameter) - checks whether the idle task needs to stop because of a specific reason type (check IdleTimerCompletionType above for various types.) In case this optional parameter passed is not supported , it will fallback to Default value and implementation. Default value checks for all possible reasons to stop the idle task. |