MutableTimeSchedule

interface MutableTimeSchedule<T> : TimeSchedule<T>

A time schedule in which timed data of type T can be scheduled. Each timed data has a start time and a duration.

Functions

Link copied to clipboard
abstract fun clear()

Clears the schedule.

Link copied to clipboard
abstract fun schedule(data: T, start: Microseconds, duration: Microseconds = 0)

Schedules the data to be surfaced when the given start was crossed or timeSkipped is called with a value withing the active duration of a scheduled data.