8.6 Released with 🥽 visionOS support and more!
Check it out
Defines the different connection types.

Summary

Enumeration Members

bluetooth

bluetooth: 4
Denotes a bluetooth connection

ethernet

ethernet: 3
Denotes an ethernet connection

mobile

mobile: 2
Denotes a mobile connection, i.e. cellular network or WAN.

none

none: 0
Denotes no connection.

vpn

vpn: 5
Denotes a vpn connection

wifi

wifi: 1
Denotes a WiFi connection.