event.isReachableViaCellular

Type Boolean
Event networkStatus
Revision Current Public Release (2017.3068)
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