stopFilter(with:completionHandler:)
Stop the filter.
Declaration
func stopFilter(with reason: NEProviderStopReason, completionHandler: @escaping @Sendable () -> Void)func stopFilter(with reason: NEProviderStopReason) asyncParameters
- reason:
An
NEProviderStopReasoncode indicating why the filter is being stopped. For a list of possible codes, see Neprovider. - completionHandler:
A block that must be executed when the filter is fully stopped.
Discussion
This method is called by the system to stop the filter.
NEFilterProvider subclasses must override this method.