ExternalEvent

data class ExternalEvent(val key: String, val type: String, val source: ExternalSource, val interval: Interval) : IntervalLike<ExternalEvent>

An external event instance.

Constructors

Link copied to clipboard
constructor(key: String, type: String, source: ExternalSource, interval: Interval)

Properties

Link copied to clipboard
open override val interval: Interval

The interval this occupies on the timeline.

Link copied to clipboard

The string name of this event.

Link copied to clipboard

The source this event comes from.

Link copied to clipboard

The type of the event.

Functions

Link copied to clipboard
open override fun withNewInterval(i: Interval): ExternalEvent

Creates a new object that is identical except that it exists on a different interval.