event.isConnectionRequired

Type Boolean
Event networkStatus
Revision Current Public Release (2017.3135)
Keywords networkStatus, isConnectionRequired
See also network.setStatusListener()

Overview

This property is true if the connection is up.

Example

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