CountDownTimer

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.

Constructors

public CountDownTimer(long millisInFuture, long countDownInterval) source

Methods

public final synchronized void cancel() source
public final synchronized CountDownTimer start() source
public abstract void onTick(long millisUntilFinished) source
public abstract void onFinish() source

Made 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.