createConsecutiveScheduleItems

fun createConsecutiveScheduleItems(duration: Double, numItems: Int, startTime: Double = 0.0, prefix: String = "Item:"): List<ScheduleItemData>

Return

the list of items

Parameters

duration

the duration of each item

numItems

the number of consecutive items

prefix

the prefix for naming the items, by default "Item:"

startTime

the start time of the first item, zero by default