Contents

flush(removingDisplayedImage:completionHandler:)

Tells the video renderer to discard pending enqueued sample buffers.

Declaration

func flush(removingDisplayedImage removeDisplayedImage: Bool, completionHandler handler: (@Sendable () -> Void)? = nil)
func flush(removingDisplayedImage removeDisplayedImage: Bool) async

Parameters

  • removeDisplayedImage:

    A Boolean value that indicates whether to remove the display image.

  • handler:

    A completion handler the system invokes when the flush completes.

See Also

Flushing the renderer