EventCapture

data class EventCapture(val value: Any?, val target: Target = Target.FieldUpdate, val timestamp: Long = Clock.System.now().toEpochMilliseconds())

Captures an event for recording/replay purposes.

Note: For changelog building, use ChangeContext instead. This class is retained for event capture functionality in DocumentEditor.

Constructors

Link copied to clipboard
constructor(value: Any?, target: Target = Target.FieldUpdate, timestamp: Long = Clock.System.now().toEpochMilliseconds())

Properties

Link copied to clipboard

The change target type.

Link copied to clipboard

When the event was captured.

Link copied to clipboard
val value: Any?

The change value/payload.