No overview available.


enum NEOnDemandRuleAction : Int


Enumeration Cases

case connect

Start the VPN connection for every connection attempt.

case disconnect

Do not start the VPN connection, and disconnect the VPN connection if it is not currently disconnected.

case evaluateConnection

Start the VPN after evaluating the destination host being accessed against the rule's parameters.

case ignore

Do not start the VPN connection, but do not disconnect it if it is currently connected.

See Also

Accessing the Rule Action

var action: NEOnDemandRuleAction

The action of the On Demand Rule

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