NEVPNStatus
The possible states of a VPN connection.
Declaration
enum NEVPNStatusOverview
After the VPN transitions from the NEVPNStatus.disconnected to the NEVPNStatus.disconnecting state, the system doesn’t close TCP connections, but ignores packets to and from established network connections. When the VPN transitions to another state — for example, from a Wi-Fi to a cellular network — the system ignores network traffic and the VPN client typically reconnects to the VPN server.
Topics
Statuses
NEVPNStatus.disconnectingNEVPNStatus.reassertingNEVPNStatus.connectedNEVPNStatus.connectingNEVPNStatus.disconnectedNEVPNStatus.invalid