Represents an active recording session.
public class RecordingSession : IDisposable
kind:method, kind:property, kind:ctor. Press Esc to clear.RecordingSession(RecordingOptions)Creates a new recording session.ElapsedGets the elapsed time since recording started.EncoderGets the frame encoder for this session.EndTimeGets the end time of the recording.EventsGets the recorded events (input, scroll, animations, etc.).FrameBufferGets the frame buffer for this session.FramesCapturedGets the number of frames captured in this session.FramesDroppedGets the number of frames dropped in this session.HeightGets the height of the recording in pixels.OptionsGets the recording options for this session.SessionIdGets the unique identifier for this session.StartTimeGets the start time of the recording.StateGets the current state of the recording.WidthGets the width of the recording in pixels.Dispose()Disposes the recording session.FinalizeRecording()Finalizes the recording and encodes all buffered frames.GetStatistics()Gets recording statistics.Initialize(Int32, Int32, String)Initializes the session with the specified dimensions.Pause()Pauses the recording.RecordEvent(RecordingEventType, String, Object?)Records an event during the recording.RecordFrame(CapturedFrame)Records a captured frame.Resume()Resumes a paused recording.Start()Starts the recording.Stop()Stops the recording.FrameCapturedEvent raised when a frame is captured.StateChangedEvent raised when the recording state changes.ToVideo(RecordingSession, String?, VideoConversionOptions?)Converts the recording session's PNG output to a video file.ToVideoAsync(RecordingSession, String?, VideoConversionOptions?, CancellationToken)Converts the recording session's PNG output to a video file.