event.isReachableViaCellular

Type Boolean
Event networkStatus
Revision Release 2022.3683
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