Titanium.Network.addConnectivityListener

Function of Titanium.Network.
Platform Since
iPhone 0.1
iPad 0.1
Deprecated since 1.7.0

Summary

adds a connectivity listener to listen for network changes. This method has been deprecated in favor of listening for a change event.

Arguments

Name Type Summary
callback Callback<Object>

callback function to invoke upon network connectivity changes

Return Type

void