CountUpTimer
val countUpTimer = object : CountUpTimer(ALLOWED_MS_OF_INACTIVITY) { override fun onTimerTick(timeRemaining: Long) {
}
override fun onTimerFinish() {
} } countUpTimer.startTimer()
Properties
Functions
Link copied to clipboard
Method to be called by CountUpTimer when the thread is getting IsFinished
Link copied to clipboard
Method to be called every second by the CountUpTimer
Link copied to clipboard
Convenience method to pause the timer.
Link copied to clipboard
Convenience method to resume the timer.
Link copied to clipboard
Setter for interval.
Link copied to clipboard
Method to start the timer.
Link copied to clipboard
Method to stop the timer.