ReplaySnapshotRequest

@Serializable
data class ReplaySnapshotRequest(val snapshotId: SnapshotId, val fromStep: Int? = null, val toStep: Int? = null, val scale: Double? = null)

Request object containing input parameters for the LayerTreeDomain.replaySnapshot command.

Constructors

Link copied to clipboard
constructor(snapshotId: SnapshotId, fromStep: Int? = null, toStep: Int? = null, scale: Double? = null)

Types

Link copied to clipboard
class Builder(val snapshotId: SnapshotId)

A builder for ReplaySnapshotRequest, which allows setting the optional parameters of the LayerTreeDomain.replaySnapshot command via a lambda.

Properties

Link copied to clipboard

The first step to replay from (replay from the very start if not specified).

Link copied to clipboard

The scale to apply while replaying (defaults to 1).

Link copied to clipboard

The id of the layer snapshot.

Link copied to clipboard
val toStep: Int?

The last step to replay to (replay till the end if not specified).