chrome-devtools-kotlin / org.hildan.chrome.devtools.domains.layertree / ReplaySnapshotRequest

ReplaySnapshotRequest

data class ReplaySnapshotRequest

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

Constructors

<init>

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

ReplaySnapshotRequest(snapshotId: SnapshotId, fromStep: Int? = null, toStep: Int? = null, scale: Double? = null)

Properties

fromStep

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

val fromStep: Int?

scale

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

val scale: Double?

snapshotId

The id of the layer snapshot.

val snapshotId: SnapshotId

toStep

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

val toStep: Int?