Instance Property

isOnDemandEnabled

A Boolean used to toggle the Connect On Demand capability.

Declaration

var isOnDemandEnabled: Bool { get set }

Discussion

The default value of this property is false.

See Also

Accessing VPN Configuration Properties

var isEnabled: Bool

A Boolean used to toggle the enabled state of the VPN configuration.

var protocolConfiguration: NEVPNProtocol?

An NEVPNProtocol object containing the configuration settings of the VPN tunneling protocol.

var `protocol`: NEVPNProtocol?

An NEVPNProtocol object containing the configuration settings of the VPN tunneling protocol.

Deprecated
var localizedDescription: String?

A string containing the display name of the VPN configuration.

var onDemandRules: [NEOnDemandRule]?

An ordered list of Connect On Demand rules