Type Method

allow()

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.

Declaration

class func allow() -> NEFilterDataVerdict

Return Value

A NEFilterDataVerdict object.

See Also

Creating Data Verdicts

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.