com.funambol.platform
Class NetworkStatus

java.lang.Object
  extended by com.funambol.platform.NetworkStatus

public class NetworkStatus
extends java.lang.Object


Constructor Summary
NetworkStatus()
           
 
Method Summary
 boolean isConnected()
           
 boolean isMobileConnected()
           
 boolean isRadioOff()
           
protected  boolean isWifiActive()
          Give information about the presence of active wifi connections.
protected  boolean isWifiAvailable()
          Give the information about the presence o a wifi bearer on the device
 boolean isWiFiConnected()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NetworkStatus

public NetworkStatus()
Method Detail

isWiFiConnected

public boolean isWiFiConnected()

isMobileConnected

public boolean isMobileConnected()

isConnected

public boolean isConnected()

isRadioOff

public boolean isRadioOff()

isWifiAvailable

protected boolean isWifiAvailable()
Give the information about the presence o a wifi bearer on the device

Returns:
true if the wifi communication interface bearer is supported by the device, false otherwise

isWifiActive

protected boolean isWifiActive()
Give information about the presence of active wifi connections.

Returns:
true if the device is connected to a wifi network with its wifi bearer, false otherwise


Copyright © 2001-2009 Funambol.