event.isConnectionOnDemand

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

Overview

This property is true if the connection will come up automatically, false otherwise.

Example

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