DisconnectReason
public enum DisconnectReason : String
Current disconnect reason
-
Unknown reason
- @since 10.4
Declaration
Swift
case UNKNOWN
-
No network connectivity
- @since 10.4
Declaration
Swift
case CONNECTIVITY
-
Airplane mode activated, or no networks available
- @since 10.4
Declaration
Swift
case AIRPLANE
-
Interrupted by another VPN
- @since 10.4
Declaration
Swift
case INTERRUPTED
-
Device reboot
- @since 10.4
Declaration
Swift
case REBOOT
-
Software update
- @since 10.4
Declaration
Swift
case UPDATE
-
Daemon crash
- @since 10.4
Declaration
Swift
case CRASH
-
Device sleep
- @since 10.4
Declaration
Swift
case SLEEP
-
User initiated
- @since 10.4
Declaration
Swift
case USERINITIATED
-
Automatic disconnect from torrent activity
- @since 10.4
Declaration
Swift
case TORRENT
-
Timeout initializing the connection
- @since 10.4
Declaration
Swift
case STARTTIMEOUT
-
Tunnel timeout
- @since 10.4
Declaration
Swift
case INACTIVETIMEOUT
-
Automatic reconnect from setting change
- @since 10.4
Declaration
Swift
case SETTINGCHANGERECONNECT
-
Unable to bring up VPN adapter
- @since 10.4
Declaration
Swift
case TUNUNAVAILABLE
-
DNS timeout
- @since 10.7
Declaration
Swift
case DNSTIMEOUT
-
VPN tunnel blocked
- @since 10.7
Declaration
Swift
case TUNNELTIMEOUT
-
Account out of data
- @since 10.9
Declaration
Swift
case OVERQUOTA
-
On a safe network, determined by safe browsing
- @since 11.0
Declaration
Swift
case SAFENETWORK
-
If the VPN Extension exceeds 15MB of memory
- @since 10.4
Declaration
Swift
case RESOURCES
-
The VPN Provi1der failed
- @since 10.4
Declaration
Swift
case PROVIDERFAILED
-
The VPN Provider was disabled
- @since 10.4
Declaration
Swift
case PROVIDERDISABLED
-
The VPN configuration was failed
- @since 10.4
Declaration
Swift
case CONFIGURATIONFAILED
-
The VPN configuration was disabled
- @since 10.4
Declaration
Swift
case CONFIGURATIONDISABLED
-
The VPN configuration was removed
- @since 10.4
Declaration
Swift
case CONFIGURATIONREMOVED
-
The VPN was superceded by another VPN
- @since 10.4
Declaration
Swift
case SUPERCEDED
-
Nothing to report
- @since 12.7.0
Declaration
Swift
case NONE