Titanium 3.X

Titanium.Network.change

Titanium.Network
Fired when network connectivity changes. ...

Fired when network connectivity changes.

Properties

  • bubbles : Boolean

    True if the event will try to bubble up if possible.

    •  
    •  
    •  
  • cancelBubble : Boolean

    Set to true to stop the event from bubbling.

    •  
    •  
    •  
  • networkType : Number

    New network type, one of the NETWORK constants defined in Titanium.Network.

  • networkTypeName : String

    New network type as a string.

  • online : Boolean

    Boolean to indicate if the device is online.

  • reason : String

    Human-readable text describing the reason for the change.

    •  
    •  
    •  
  • source : Object

    Source object that fired the event.

  • type : String

    Name of the event fired.