event.isReachableViaCellular

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