Clock¶
fun interface Clock
An interface to abstract the SystemClock.uptimeMillis() Android API in non Android artifacts.
This is a functional interface with which you can create a Clock from a lambda.
Types¶
Name | Summary |
---|---|
Companion | object Companion |
Functions¶
Name | Summary |
---|---|
uptimeMillis | abstract fun uptimeMillis(): Long On Android VMs, this should return android.os.SystemClock.uptimeMillis(). |