---
title: "remediateVerdict(withRemediationURLMapKey:remediationButtonTextMapKey:)"
framework: networkextension
role: symbol
role_heading: Type Method
path: "networkextension/nefilterdataverdict/remediateverdict(withremediationurlmapkey:remediationbuttontextmapkey:)"
---

# remediateVerdict(withRemediationURLMapKey:remediationButtonTextMapKey:)

Creates a verdict to drop the current chunk of network data and all subsequent data for the current flow, and provides a remediation URL.

## Declaration

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

## Parameters

- `remediationURLMapKey`: The key in the Filter Control Provider’s doc://com.apple.networkextension/documentation/NetworkExtension/NEFilterControlProvider/remediationMap dictionary corresponding to the URL of the remediation link to give to the user.
- `remediationButtonTextMapKey`: The key in the Filter Control Provider’s remediationMap dictionary that corresponds to the text of the remediation link text to give to the user.

## Return Value

Return Value A NEFilterDataVerdict object.

## Discussion

Discussion When the Filter Data Provider returns this verdict from one of its data filtering methods, the system resolves the verdict as follows: The system uses the verdict’s remediationURLMapKey and remediationButtonTextMapKey to look up the remediation URL parameters in the remediationMap dictionary set by the Filter Control Provider. The system then inserts the remediation URL parameters into the block page and presents it to the user. The user can tap the URL to appeal the decision to drop the flow. This starts the remediation process, if your app provides one.

## See Also

### Creating data verdicts

- [allow()](networkextension/nefilterdataverdict/allow().md)
- [drop()](networkextension/nefilterdataverdict/drop().md)
- [pause()](networkextension/nefilterdataverdict/pause().md)
- [needRules()](networkextension/nefilterdataverdict/needrules().md)
- [init(passBytes:peekBytes:)](networkextension/nefilterdataverdict/init(passbytes:peekbytes:).md)
