Companion

expect object Companion
actual object Companion
actual object Companion

Functions

Link copied to clipboard
expect fun create(callback: TimerCallback, period: UInt): Timer

Creates a new Timer.

actual fun create(callback: TimerCallback, period: UInt): Timer
actual fun create(callback: TimerCallback, period: UInt): Timer
fromPointer
Link copied to clipboard
fun fromPointer(ptr: CPointer<lv_timer_t>?): Timer
fun fromPointer(ptr: CPointer<lv_timer_t>?): Timer
Link copied to clipboard
expect fun handler(): UInt

Call it periodically to handle timers.

actual fun handler(): UInt
actual fun handler(): UInt

Properties

Link copied to clipboard
expect val idle: UByte

The idle time as a percentage for handler.

actual val idle: UByte
actual val idle: UByte