Package io.rong.common
Class CountDownTimer
-
- All Implemented Interfaces:
public abstract class CountDownTimer
Created by Android Studio. User: lvhongzhen Date: 2019-09-03 Time: 10:59
-
-
Field Summary
Fields Modifier and Type Field Description public boolean
isStart
-
Method Summary
Modifier and Type Method Description boolean
isStart()
final synchronized void
cancel()
Cancel the countdown. final synchronized CountDownTimer
start()
Start the countdown. abstract void
onTick(long millisUntilFinished)
Callback fired on regular interval. abstract void
onFinish()
Callback fired when the time is up. -
-
Method Detail
-
isStart
boolean isStart()
-
cancel
final synchronized void cancel()
Cancel the countdown.
-
start
final synchronized CountDownTimer start()
Start the countdown.
-
onTick
abstract void onTick(long millisUntilFinished)
Callback fired on regular interval.
- Parameters:
millisUntilFinished
- The amount of time until finished.
-
onFinish
abstract void onFinish()
Callback fired when the time is up.
-
-
-
-