@Implements(android.net.wifi.WifiInfo.class) public class ShadowWifiInfo extends Object
Constructor | Description |
---|---|
ShadowWifiInfo() |
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) |
public static WifiInfo newInstance()
public void setInetAddress(InetAddress address)
public void setMacAddress(String newMacAddress)
public void setSSID(String ssid)
public void setBSSID(String bssid)
public void setSupplicantState(SupplicantState state)
public void setRssi(int rssi)
public void setLinkSpeed(int linkSpeed)
public void setFrequency(int frequency)
public void setNetworkId(int id)