Skip to main content link. Accesskey S

The useful resource for Titanium and YouAtNotes Domino To Go

Submit Search

Home > Titanium > Ti: Network

Ti: Network

ShowTable of Contents
HideTable of Contents

Change event


You can react on the change of the networks status as follows:

Ti.Network.addEventListener("change", function(e) {
  // e.networkType -> type of network
  // e.networkTypeName -> type as a string
  // e.online -> true if the device has a network

  // example: run code if device goes online
  if (e.online) {
    // do something
  }

});

Add Comment

Name:
Comments:
Use  searchlotus.com  for news in the Web related to Lotus Notes and Domino,
and to search those sites.
Check  youatnotes.com  for great Lotus Notes, Domino and XPages software.