public class CountDownTimerSupport extends java.lang.Object implements ITimerSupport
| 构造器和说明 |
|---|
CountDownTimerSupport()
已过时。
|
CountDownTimerSupport(long millisInFuture,
long countDownInterval) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected java.util.TimerTask |
createTimerTask() |
long |
getMillisUntilFinished() |
TimerState |
getTimerState() |
boolean |
isFinish() |
boolean |
isStart() |
void |
pause() |
void |
reset() |
void |
resume() |
void |
setCountDownInterval(long countDownInterval)
已过时。
使用构造方法
|
void |
setMillisInFuture(long millisInFuture)
已过时。
使用构造方法
|
void |
setOnCountDownTimerListener(OnCountDownTimerListener listener) |
void |
start() |
void |
stop() |
@Deprecated public CountDownTimerSupport()
public CountDownTimerSupport(long millisInFuture,
long countDownInterval)
public void start()
start 在接口中 ITimerSupportpublic void pause()
pause 在接口中 ITimerSupportpublic void resume()
resume 在接口中 ITimerSupportpublic void stop()
stop 在接口中 ITimerSupportpublic void reset()
reset 在接口中 ITimerSupportpublic boolean isStart()
public boolean isFinish()
@Deprecated public void setMillisInFuture(long millisInFuture)
millisInFuture - @Deprecated public void setCountDownInterval(long countDownInterval)
countDownInterval - public void setOnCountDownTimerListener(OnCountDownTimerListener listener)
public long getMillisUntilFinished()
public TimerState getTimerState()
protected java.util.TimerTask createTimerTask()