setTotalTimeWithSecond method

void setTotalTimeWithSecond(
  1. int totalTime
)

设置倒计时

totalTime 总时间,单位秒,

Implementation

void setTotalTimeWithSecond(int totalTime) {
  setTotalTime(totalTime * 1000);
}