A type that represents the kind of event indicated by a report.


enum Event : Int


Event Types

case newFlow

A type of event indicating the report is for a new flow.

case dataDecision

A type of event indicating the report is about a pass/block decision made after analyzing some amount of a flow’s data.

case flowClosed

A type of event indicating the report is for a flow’s closing.

Enumeration Cases

See Also

Getting Report Properties

var flow: NEFilterFlow?

The flow on which the associated action was taken.

var action: NEFilterAction

The action taken on the reported flow.

enum NEFilterAction

The actions a data provider can take on a filter flow.

var event: NEFilterReport.Event

The type of event indicated by this report.

var bytesInboundCount: Int

The number of inbound bytes received from the flow.

var bytesOutboundCount: Int

The number of outbound bytes sent on the flow.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software