Instance Method

finish(with:)

Signifies the composition request encountered an error.

Declaration

func finish(with error: Error)

Parameters

error

Returns the error encountered during the compositing.

Discussion

This method should be called by the custom compositor when the composition failed.

See Also

Finishing the Composition Request

func finishCancelledRequest()

Signifies the composition request was canceled.

func finish(withComposedVideoFrame: CVPixelBuffer)

Signifies the composition request succeeded

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software