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

ProfileSnapshotRequest

data class ProfileSnapshotRequest

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

Constructors

<init>

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

ProfileSnapshotRequest(snapshotId: SnapshotId, minRepeatCount: Int? = null, minDuration: Double? = null, clipRect: Rect? = null)

Properties

clipRect

The clip rectangle to apply when replaying the snapshot.

val clipRect: Rect?

minDuration

The minimum duration (in seconds) to replay the snapshot.

val minDuration: Double?

minRepeatCount

The maximum number of times to replay the snapshot (1, if not specified).

val minRepeatCount: Int?

snapshotId

The id of the layer snapshot.

val snapshotId: SnapshotId