Contents

stopCapture(completionHandler:)

Stops the stream.

Declaration

func stopCapture(completionHandler: (@Sendable ((any Error)?) -> Void)? = nil)
func stopCapture() async throws

Parameters

  • completionHandler:

    A completion handler that provides an error if the stream fails to stop.

See Also

Starting and stopping a stream