Instance Property

shouldReport

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

Declaration

@property BOOL shouldReport;

Discussion

If the property is set to YES, the system sends a report to the control provider's handleReport: 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 handleReport: method is a more efficient way to report a flow to the control provider than returning a needRulesVerdict verdict.

This property applies when the action taken on a flow is NEFilterActionAllow, NEFilterActionDrop, NEFilterActionRemediate, or NEFilterActionFilterData (the last of which is for new flows only).