ReplayEvent interface
An event containing the data recorded during the replay.
Signature:
export interface ReplayEvent
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
Data | readonly | unknown | The data saved by ReplayRecorder.addReplayEvent(). |
DataJson | readonly | string | |
TimeMs | readonly | number | The 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;
Updated 7 months ago