Type Method

pauseVerdict

Creates a verdict that tells the system to pause the flow.

Declaration

+ (NEFilterNewFlowVerdict *)pauseVerdict;

Discussion

Once paused, the system doesn’t call any of the data provider’s handler callbacks until you resume the flow by calling resumeFlow:withVerdict:.

You can pause TCP flows indefinitely. You can pause UDP flows for up to 10 seconds, after which the system drops the flow. Pausing a flow that’s already paused is an invalid operation.

See Also

Creating New Flow Verdicts

+ allowVerdict

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.

+ dropVerdict

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.

+ filterDataVerdictWithFilterInbound:peekInboundBytes:filterOutbound:peekOutboundBytes:

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.

+ remediateVerdictWithRemediationURLMapKey:remediationButtonTextMapKey:

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.

+ needRulesVerdict

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.

+ URLAppendStringVerdictWithMapKey:

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.