App.ConnectivityService

Module responsible for managing offline/ online status

Example
App.connectivityService.on(
 App.ConnectivityService.Events.STATUS_CHANGE,
 function(offline) { console.log(offline); })
);

Classes

ConnectivityService

Members

(static) App.connectivityService :module:"App.ConnectivityService".ConnectivityService

Singleton instance that can be used to subscribe to connectivity status updates

Type:

(static) App.ConnectivityService.Events

Events that can be subscribed to - to listen to connectivity status updates