setTotalTime method
Set countdown total time (unit: milliseconds).
Implementation
void setTotalTime(int totalTime) {
if (totalTime <= 0) return;
mTotalTime = totalTime;
}
Set countdown total time (unit: milliseconds).
void setTotalTime(int totalTime) {
if (totalTime <= 0) return;
mTotalTime = totalTime;
}