Class

NEFilterSettings

The rules and other settings that define the operation of a filter.

Declaration

@interface NEFilterSettings : NSObject

Overview

NEFilterDataProvider instances use NEFilterSettings to communicate the desired settings for the filter to the framework. The framework takes care of applying the contained settings to the system.

Topics

Creating Filter Settings

- initWithRules:defaultAction:

Creates a new settings instance from an array of rules and a default action.

NEFilterRule

A rule for filters that combines a rule to match network traffic and an action to take when the rule matches.

Inspecting Filter Settings

rules

An ordered list of rules that define the filter’s operation.

defaultAction

The default action to take for flows of network data that don’t match any of the specified rules.

Relationships

Inherits From

See Also

Changing Filter Settings

- applySettings:completionHandler:

Applies a set of filtering rules associated with the provider and changes the default filtering action.