pl.wendigo.chrome.api.layertree / ProfileSnapshotRequest

ProfileSnapshotRequest

data class ProfileSnapshotRequest (source)

Represents request frame that can be used with LayerTree#profileSnapshot operation call.

Link
LayerTree#profileSnapshot method documentation.

See Also

LayerTreeOperations.profileSnapshot

Constructors

<init>

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

Represents request frame that can be used with LayerTree#profileSnapshot operation call.

Properties

clipRect

val clipRect: Rect?

The clip rectangle to apply when replaying the snapshot.

minDuration

val minDuration: Double?

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

minRepeatCount

val minRepeatCount: Int?

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

snapshotId

val snapshotId: SnapshotId

The id of the layer snapshot.