public class LoResAlarmTimer extends BaseAlarmTimer
Constructor and Description |
---|
LoResAlarmTimer(long alarmTime)
Construct a AlarmTimer instance
and set its preset time in microseconds (us).
|
LoResAlarmTimer(long alarmTime,
boolean autostart)
Same as LoResAlarmTimer(alarmTime), but the timer starts immediately if
autostart is true.
|
LoResAlarmTimer(long alarmTime,
boolean autostart,
boolean yield)
Same as LoResAlarmTimer(alarmTime, autostart), but most methods calls
Thread.yield() automatically, if yield is true.
|
addTimerListener, getTime, isRunning, resume, start, start, stop, stopEvents
public LoResAlarmTimer(long alarmTime)
public LoResAlarmTimer(long alarmTime, boolean autostart)
public LoResAlarmTimer(long alarmTime, boolean autostart, boolean yield)