profileSnapshot
suspend fun profileSnapshot(args: LayerTree.ProfileSnapshotParameter, mode: CommandMode = CommandMode.DEFAULT): LayerTree.ProfileSnapshotReturn
suspend fun profileSnapshot(snapshotId: String, minRepeatCount: Int? = null, minDuration: Double? = null, clipRect: DOM.Rect? = null): LayerTree.ProfileSnapshotReturn
Parameters
snapshotId
The id of the layer snapshot.
minRepeatCount
The maximum number of times to replay the snapshot (1, if not specified).
minDuration
The minimum duration (in seconds) to replay the snapshot.
clipRect
The clip rectangle to apply when replaying the snapshot.