Class

NEFilterDataVerdict

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

Declaration

class NEFilterDataVerdict : NEFilterVerdict

Topics

Creating Data Verdicts

class func allow() -> NEFilterDataVerdict

Create a verdict that indicates to the system that the current chunk of network data and all subsequent data for the current flow should be passed on to its final destination.

class func drop() -> NEFilterDataVerdict

Create a verdict that indicates to the system that the current chunk of network data and all subsequent data for the current flow should be dropped.

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

Create a verdict that indicates to the system that the current chunk of network data and all subsequent data for the current flow should be dropped, but allow the user to request access by tapping or clicking on a URL.

class func needRules() -> NEFilterDataVerdict

Create a verdict that indicates to the system that the Filter Control Provider needs to update the rules before the Filter Data Provider can make a decision about the flow’s data.

init(passBytes: Int, peekBytes: Int)

Create a verdict that indicates to the system that a chunk of network data should be passed on to its final destination, and specifying the next chunk of data that the Filter Data Provider needs to see as it makes its filtering decision.

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 NEFilterNewFlowVerdict

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

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.