ProfileSnapshotRequest

data class ProfileSnapshotRequest(snapshotId: SnapshotId, minRepeatCount: Int?, minDuration: Double?, clipRect: Rect?)

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

See also

Constructors

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

Properties

clipRect
Link copied to clipboard
val clipRect: Rect? = null
The clip rectangle to apply when replaying the snapshot.
minDuration
Link copied to clipboard
val minDuration: Double? = null
The minimum duration (in seconds) to replay the snapshot.
minRepeatCount
Link copied to clipboard
val minRepeatCount: Int? = null
The maximum number of times to replay the snapshot (1, if not specified).
snapshotId
Link copied to clipboard
val snapshotId: SnapshotId
The id of the layer snapshot.

Sources

jvm source
Link copied to clipboard