ReplayEvent interface

An event containing the data recorded during the replay.

Signature:

export interface ReplayEvent 

Properties

PropertyModifiersTypeDescription
DatareadonlyunknownThe data saved by ReplayRecorder.addReplayEvent().
DataJsonreadonlystring
TimeMsreadonlynumberThe timing of the event in milliseconds since the start of the replay.

ReplayEvent.Data property

The data saved by ReplayRecorder.addReplayEvent().

Signature:

readonly Data: unknown;

ReplayEvent.DataJson property

Warning: This API is now obsolete.

Use Data directly, no longer need to deserialize the data.

Signature:

readonly DataJson: string;

ReplayEvent.TimeMs property

The timing of the event in milliseconds since the start of the replay.

Signature:

readonly TimeMs: number;