updateContentFilter(_:completionHandler:)
Updates the stream by applying a new content filter.
Declaration
func updateContentFilter(_ contentFilter: SCContentFilter, completionHandler: (@Sendable ((any Error)?) -> Void)? = nil)func updateContentFilter(_ contentFilter: SCContentFilter) async throwsParameters
- contentFilter:
The content filter to apply.
- completionHandler:
A completion handler the system calls when this method completes. It includes an error if the update fails.