remainingTime

fun remainingTime(runnable: Runnable): Long

Returns the remaining time for the provided Runnable.

Return

The remaining milliseconds until the timer is finished or 0 if the runnable is not running.

Parameters

runnable

The Runnable associated with a timer.