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
All Methods Static Methods Instance Methods Concrete Methods 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)
-
-
-
Method Detail
-
newInstance
public static WifiInfo newInstance()
-
setInetAddress
@Implementation public void setInetAddress(InetAddress address)
-
setMacAddress
@Implementation public void setMacAddress(String newMacAddress)
-
setSSID
@Implementation(maxSdk=16) public void setSSID(String ssid)
-
setBSSID
@Implementation public void setBSSID(String bssid)
-
setSupplicantState
@Implementation public void setSupplicantState(SupplicantState state)
-
setRssi
@Implementation public void setRssi(int rssi)
-
setLinkSpeed
@Implementation public void setLinkSpeed(int linkSpeed)
-
setFrequency
@Implementation(minSdk=21) public void setFrequency(int frequency)
-
setNetworkId
@Implementation public void setNetworkId(int id)
-
-