MapRecorderPlatformInterface class abstract interface

MapRecorder provides functions to record and replay API calls of a map instance.

These recordings can be used to debug issues which require multiple steps to reproduce. Playbacks can also be used for performance testing custom scenarios.

Note: the raw format produced by stopRecording is experimental and there is no guarantee of version cross-compatibility when feeding it to replay.

Annotations

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getState() Future<String>
Returns a string description of the current playback state.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
replay(Uint8List recordedSequence, {required int playbackCount, required double playbackSpeedMultiplier, required bool avoidPlaybackPauses}) Future<void>
Replays a previously-recorded sequence.
startRecording({int? timeWindow, required bool loggingEnabled, required bool compressed}) Future<void>
Begins a recording session.
stopRecording() Future<Uint8List>
Stops the current recording session and returns the serialized sequence.
togglePause() Future<void>
Pauses or resumes playback.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited