event.isReachableViaCellular

Type Boolean
Event networkStatus
Revision Current Public Release (2018.3326)
Keywords networkStatus, isReachableViaCellular

Overview

This property is true if the host is reachable through the cellular network.

Gotchas

networkStatus events are only supported on macOS and iOS.

Example

local function myNetworkReachabilityListener( event )
    print( "IsReachableViaCellular", event.isReachableViaCellular )
end