ProfileSnapshotRequest

@Serializable
data class ProfileSnapshotRequest(val snapshotId: SnapshotId, val minRepeatCount: Int? = null, val minDuration: Double? = null, val clipRect: Rect? = null)

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

Constructors

Link copied to clipboard
constructor(snapshotId: SnapshotId, minRepeatCount: Int? = null, minDuration: Double? = null, clipRect: Rect? = null)

Types

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

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

Properties

Link copied to clipboard

The clip rectangle to apply when replaying the snapshot.

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

The id of the layer snapshot.