Type Boolean Event networkStatus Revision Current Public Release (2017.3135) Keywords networkStatus, isReachableViaWiFi See also network.setStatusListener()
This property is
true if the requested host is reachable via WiFi.
Note that on Mac, ethernet also counts as WiFi.
networkStatus events are only supported on macOS and iOS.
local function myNetworkReachabilityListener( event ) print( "IsReachableViaWiFi", event.isReachableViaWiFi ) end