Class of android.os · CountDownTimer.java · Android's reference
public abstract class CountDownTimer
A countdown that calls onTick at each interval and onFinish at the end, on the thread that made it.
public CountDownTimer(long millisInFuture, long countDownInterval) sourcepublic final synchronized void cancel() sourcepublic final synchronized CountDownTimer start() sourcepublic abstract void onTick(long millisUntilFinished) sourcepublic abstract void onFinish() sourceMade from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.