Instance Property

shouldReport

A Boolean that indicates whether to send a report to the control provider when processing this verdict.

Declaration

var shouldReport: Bool { get set }

Discussion

If the property is set to true, the system sends a report to the control provider's handle(_:) method when processing this verdict in the data provider. If the verdict originates in the control provider, this property has no effect.

The data provider doesn't need to wait for a response from the control provider before continuing to process the flow. Therefore, a call to the handle(_:) method is a more efficient way to report a flow to the control provider than returning a needRules() verdict.

This property applies when the action taken on a flow is NEFilterAction.allow, NEFilterAction.drop, NEFilterAction.remediate, or NEFilterAction.filterData (the last of which is for new flows only).