Enumeration

NEVPNStatus

No overview available.

Declaration

enum NEVPNStatus : Int

Topics

Statuses

case disconnecting

The VPN is in the process of disconnecting.

case reasserting

The VPN is in the process of reconnecting.

case connected

The VPN is connected.

case connecting

The VPN is in the process of connecting.

case disconnected

The VPN is disconnected.

case invalid

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

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.