setTotalTime method

void setTotalTime(
  1. int totalTime
)

set countdown totalTime. (unit millisecond). 设置倒计时总时间.

Implementation

void setTotalTime(int totalTime) {
  if (totalTime <= 0) return;
  mTotalTime = totalTime;
}