Пример #1
0
 public static int addPeriodicTimer(long tdelay, TIMER_HANDLER_TYPE handler) {
   return IPC.addTimer(tdelay, TRIGGER_FOREVER, handler);
 }
Пример #2
0
 public static int addOneShotTimer(long tdelay, TIMER_HANDLER_TYPE handler) {
   return IPC.addTimer(tdelay, 1, handler);
 }