Package org.robolectric.shadows
Class ShadowWifiInfo
java.lang.Object
org.robolectric.shadows.ShadowWifiInfo
@Implements(android.net.wifi.WifiInfo.class) public class ShadowWifiInfo extends Object
-
Constructor Summary
Constructors Constructor Description ShadowWifiInfo()
-
Method Summary
Modifier and Type Method Description static WifiInfo
newInstance()
void
setBSSID(String bssid)
void
setFrequency(int frequency)
void
setInetAddress(InetAddress address)
void
setLinkSpeed(int linkSpeed)
void
setMacAddress(String newMacAddress)
void
setNetworkId(int id)
void
setRssi(int rssi)
void
setSSID(String ssid)
void
setSupplicantState(SupplicantState state)
-
Constructor Details
-
ShadowWifiInfo
public ShadowWifiInfo()
-
-
Method Details
-
newInstance
-
setInetAddress
-
setMacAddress
-
setSSID
-
setBSSID
-
setSupplicantState
-
setRssi
public void setRssi(int rssi) -
setLinkSpeed
public void setLinkSpeed(int linkSpeed) -
setFrequency
public void setFrequency(int frequency) -
setNetworkId
public void setNetworkId(int id)
-