Enumeration

NEVPNStatus

No overview available.

Declaration

enum NEVPNStatus : Int

Topics

Enumeration Cases

case invalid

The associated VPN configuration does not exist in the Network Extension preferences or is not enabled.

case disconnected

The VPN is disconnected.

case connecting

The VPN is in the process of connecting.

case reasserting

The VPN is in the process of reconnecting.

case disconnecting

The VPN is in the process of disconnecting.

See Also

Getting VPN Connection Status

var status: NEVPNStatus

The current status of the VPN connection

var connectedDate: Date?

The date and time when the connection status changed to NEVPNStatusConnected.

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