/// <summary> /// Starts the timer. /// </summary> /// <param name="millisOnTimer">Millis on timer.</param> /// <param name="countDownInterval">Count down interval.</param> /// <param name="onTimerCount">On timer count.</param> public void startTimer(long millisOnTimer, long countDownInterval, IOnTimerCount onTimerCount) { if (mPauseTimer != null) { mPauseTimer.Cancel(); } mPauseTimer = new PauseTimer(millisOnTimer, countDownInterval, true, onTimerCount); mPauseTimer.Create(); }
public PauseTimer(long millisOnTimer, long countDownInterval, bool runAtStart, IOnTimerCount onTimerCount) : base(millisOnTimer, countDownInterval, runAtStart) { mOnTimerCount = onTimerCount; }