event.isReachable

Type Boolean
Event networkStatus
Revision Release 2024.3703
Keywords networkStatus, isReachable
See also network.setStatusListener()

Overview

This property is true if the specified host is reachable.

Gotchas

networkStatus events are only supported on macOS and iOS.

Example

local function myNetworkReachabilityListener( event )
    print( "isReachable", event.isReachable )
end