StartRecording(TopLevel, RecordingOptions?, String?) Method

Definition

Assembly HeadlessTestingFramework.dll

Starts recording the specified target.

public RecordingSession StartRecording(TopLevel target, RecordingOptions? options = null, string? outputPath = null)

Parameters

target
Avalonia.Controls.TopLevel

The top-level window or control to record.

options
RecordingOptions

Recording options.

outputPath
String

Output path for the recording. If null, uses temp directory.

Returns

RecordingSession
The recording session.