CallbackScheduler Class

This type is an EasyAR Sense API in C#: CallbackScheduler . Some descriptions may not apply to Unity environment on this page.

Some parts of the Sense API may have already been wrapped into Unity components, and directly usages may not be necessary.


Callback scheduler.

There are two subclasses: DelayedCallbackScheduler and ImmediateCallbackScheduler .

DelayedCallbackScheduler is used to delay callback to be invoked manually, and it can be used in single-threaded environments (such as various UI environments).

ImmediateCallbackScheduler is used to mark callback to be invoked when event is dispatched, and it can be used in multi-threaded environments (such as server or service daemon).