Class

NEFilterNewFlowVerdict

The filtering decision made by a filter data provider for a flow that it’s just seen for the first time.

Declaration

class NEFilterNewFlowVerdict : NEFilterVerdict

Topics

Creating New Flow Verdicts

class func allow() -> NEFilterNewFlowVerdict

Create a verdict that indicates to the system that the all of the new flow’s data should be allowed to pass to its final destination.

class func drop() -> NEFilterNewFlowVerdict

Create a verdict that indicates to the system that all of the new flow’s data should dropped, and the user should not be given the opportunity to request access.

class func filterDataVerdict(withFilterInbound: Bool, peekInboundBytes: Int, filterOutbound: Bool, peekOutboundBytes: Int) -> NEFilterNewFlowVerdict

Create a verdict that indicates to the system that the filter needs to make a decision about a new flow after seeing a portion of the flow's data.

class func remediateVerdict(withRemediationURLMapKey: String, remediationButtonTextMapKey: String) -> NEFilterNewFlowVerdict

Create a verdict that indicates to the system that all of the new flow’s data should be dropped, but allow the user to request access by tapping or clicking on a URL.

class func needRules() -> NEFilterNewFlowVerdict

Create a verdict that indicates to the system that the Filter Data Provider needs more information before it can make a decision about a new flow.

class func urlAppendStringVerdict(withMapKey: String) -> NEFilterNewFlowVerdict

Create a verdict that indicates to the system that all of the new flow’s data should be allowed to pass to its final destination, but a string should first be appended to the new flow’s request URL.

See Also

Flow Handling

class NEFilterBrowserFlow

A flow of network data originating from a WebKit-based browser that’s being examined by the filter.

class NEFilterSocketFlow

A flow of network data originating from a nonbrowser TCP connection that’s being examined by the filter.

class NEFilterFlow

An abstract base class shared by NEFilterBrowserFlow and NEFilterSocketFlow.

class NEFilterDataVerdict

The filtering decision made by a filter data provider for subsequent chunks of data on a flow.

class NEFilterControlVerdict

The filtering decision made by a filter control provider.

class NEFilterRemediationVerdict

The filtering decision made by a filter data provider after the user requests remediation for a blocked flow.

class NEFilterVerdict

The abstract base class for filter verdict classes.

class NEFilterReport

The report of an action taken by the data provider on a flow.

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