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
OTCreateTimerTask
when you created the task.OTTimeout
- The time, in milliseconds, that should elapse between when you call
OTScheduleTimerTask
and when the function executes.- function result
- The result is
true
if the timer task is scheduled.DISCUSSION
TheOTScheduleTimerTask
schedules the execution of a task created with theOTCreateTimerTask
function.
- WARNING
- Calling this function periodially to schedule a task will cause drift.
SEE ALSO
TheOTCancelTimerTask
function.The
OTDestroyTimerTask
function.