Important: The information in this document is obsolete and should not be used for new development.
OTScheduleTimerTask
Schedules a timer task to be executed at the specified time.C INTERFACE
pascal Boolean OTScheduleTimerTask(long timerTask, OTTimeout milliSeconds);C++ INTERFACES
None. C++ applications use the C interface to this function.PARAMETERS
timerTask- A 32-bit value identifying the task you want to schedule. This is the value returned by the
OTCreateTimerTaskwhen you created the task.OTTimeout- The time, in milliseconds, that should elapse between when you call
OTScheduleTimerTaskand when the function executes.- function result
- The result is
trueif the timer task is scheduled.DISCUSSION
TheOTScheduleTimerTaskschedules the execution of a task created with theOTCreateTimerTaskfunction.
- WARNING
- Calling this function periodially to schedule a task will cause drift.
![]()
SEE ALSO
TheOTCancelTimerTaskfunction.The
OTDestroyTimerTaskfunction.