DurationChanged

data class DurationChanged(val from: Double, val to: Double) : SourceEvent

Emitted when the source duration has changed. Not emitted for the initial duration.

Constructors

Link copied to clipboard
constructor(from: Double, to: Double)

Properties

Link copied to clipboard

The duration before the change happened (in seconds).

Link copied to clipboard

The time at which the event was emitted in milliseconds since the Unix Epoch.

Link copied to clipboard
val to: Double

The duration after the change happened (in seconds).