ProfileSnapshotRequest

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

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)

Properties

Link copied to clipboard
val clipRect: Rect? = null

The clip rectangle to apply when replaying the snapshot.

Link copied to clipboard
val minDuration: Double? = null

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

Link copied to clipboard
val minRepeatCount: Int? = null

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

Link copied to clipboard

The id of the layer snapshot.