# Print output for @column tags ?>
public
static
final
class
WifiInfo.Builder
extends Object
| java.lang.Object | |
| ↳ | android.net.wifi.WifiInfo.Builder |
Builder for WifiInfo
Public constructors | |
|---|---|
Builder()
|
|
Public methods | |
|---|---|
WifiInfo
|
build()
Build a WifiInfo object. |
WifiInfo.Builder
|
setBssid(String bssid)
Set the BSSID. |
WifiInfo.Builder
|
setNetworkId(int networkId)
Set the network ID. |
WifiInfo.Builder
|
setRssi(int rssi)
Set the RSSI, in dBm. |
WifiInfo.Builder
|
setSsid(byte[] ssid)
Set the SSID, in the form of a raw byte array. |
Inherited methods | |
|---|---|
public Builder ()
public WifiInfo.Builder setBssid (String bssid)
Set the BSSID.
| Parameters | |
|---|---|
bssid |
String: This value cannot be null. |
| Returns | |
|---|---|
WifiInfo.Builder |
This value cannot be null. |
See also:
public WifiInfo.Builder setNetworkId (int networkId)
Set the network ID.
| Parameters | |
|---|---|
networkId |
int |
| Returns | |
|---|---|
WifiInfo.Builder |
This value cannot be null. |
See also:
public WifiInfo.Builder setRssi (int rssi)
Set the RSSI, in dBm.
| Parameters | |
|---|---|
rssi |
int |
| Returns | |
|---|---|
WifiInfo.Builder |
This value cannot be null. |
See also:
public WifiInfo.Builder setSsid (byte[] ssid)
Set the SSID, in the form of a raw byte array.
| Parameters | |
|---|---|
ssid |
byte: This value cannot be null. |
| Returns | |
|---|---|
WifiInfo.Builder |
This value cannot be null. |
See also: