TryTake(out CapturedFrame?) Method

Definition

Assembly HeadlessTestingFramework.dll

Attempts to take a frame from the buffer.

public bool TryTake(scoped out CapturedFrame? frame)

Parameters

frame
CapturedFrame

The frame if available.

Returns

Boolean
True if a frame was retrieved, false if the buffer is empty.