Titanium.Network
Properties
- NETWORK_LAN
- The network connection is a LAN
- NETWORK_MOBILE
- The network connection is Mobile
- NETWORK_NONE
- No network connection
- NETWORK_UNKNOWN
- The network type is unknown.
- NETWORK_WIFI
- The network connection is WIFI
- networkType
- The current network connection type.
- networkTypeName
- The current network connection type.
- online
- Examine connectivity state
Methods
- addConnectivityListener ( )
- Not supported in android. Use addEventListener
- addEventListener ( eventName, listener )
- Register an event handler for connectivity events.
- createHTTPClient ( )
- Create an HTTPClient object
- decodeURIComponent ( fragment )
- URL Decode
- encodeURIComponent ( fragment )
- URL Encode
- removeConnectivityListener ( )
- Not supported in android. Use removeEventListener
- removeEventListener ( eventName, listenerId )
- RemoveEventListener
Objects
- HTTPClient
- Network.HTTPClient Object
Titanium Mobile Dev Center