Android.Net.Wifi.WifiManager Members

The members of Android.Net.Wifi.WifiManager are listed below.

See Also: Inherited members from Java.Lang.Object

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.

Public Fields

const
ActionPickWifiNetworkstring. Activity Action: Pick a Wi-Fi network to connect to.
const
ActionRequestScanAlwaysAvailablestring. Activity Action: Show a system activity that allows the user to enable scans to be available even with Wi-Fi turned off.
const
ErrorAuthenticatingint (1). The error code if there was a problem authenticating.
const
ExtraBssidstring. The lookup key for a String giving the BSSID of the access point to which we are connected.
const
ExtraNetworkInfostring. The lookup key for a Android.Net.NetworkInfo object associated with the Wi-Fi network.
const
ExtraNewRssistring. The lookup key for an int giving the new RSSI in dBm.
const
ExtraNewStatestring. The lookup key for a Android.Net.Wifi.SupplicantState describing the new state Retrieve with Android.Content.Intent.GetParcelableExtra(string).
const
ExtraPreviousWifiStatestring. The previous Wi-Fi state.
const
ExtraSupplicantConnectedstring. The lookup key for a boolean that indicates whether a connection to the supplicant daemon has been gained or lost.
const
ExtraSupplicantErrorstring. The lookup key for a Android.Net.Wifi.SupplicantState describing the supplicant error code if any Retrieve with Android.Content.Intent.GetIntExtra(string, System.Int32).
const
ExtraWifiInfostring. The lookup key for a Android.Net.Wifi.WifiInfo object giving the information about the access point to which we are connected.
const
ExtraWifiStatestring. The lookup key for an int that indicates whether Wi-Fi is enabled, disabled, enabling, disabling, or unknown.
const
NetworkIdsChangedActionstring. The network IDs of the configured networks could have changed.
const
NetworkStateChangedActionstring. Broadcast intent action indicating that the state of Wi-Fi connectivity has changed.
const
RssiChangedActionstring. The RSSI (signal strength) has changed.
const
ScanResultsAvailableActionstring. An access point scan has completed, and results are available from the supplicant.
const
SupplicantConnectionChangeActionstring. Broadcast intent action indicating that a connection to the supplicant has been established (and it is now possible to perform Wi-Fi operations) or the connection to the supplicant has been lost.
const
SupplicantStateChangedActionstring. Broadcast intent action indicating that the state of establishing a connection to an access point has changed.
const
WifiStateChangedActionstring. Broadcast intent action indicating that Wi-Fi has been enabled, disabled, enabling, disabling, or unknown.

Public Properties

[read-only]
ConfiguredNetworksIList<WifiConfiguration>. Return a list of all the networks configured in the supplicant.
[read-only]
ConnectionInfoWifiInfo. Return dynamic information about the current Wi-Fi connection, if any is active.
[read-only]
DhcpInfoAndroid.Net.DhcpInfo. Return the DHCP-assigned addresses from the last successful DHCP request, if any.
[read-only]
IsDeviceToApRttSupportedbool.
[read-only]
IsEnhancedPowerReportingSupportedbool.
[read-only]
IsP2pSupportedbool.
[read-only]
IsPreferredNetworkOffloadSupportedbool.
[read-only]
IsScanAlwaysAvailablebool. Check if scanning is always available.
[read-only]
IsTdlsSupportedbool.
[read-only]
IsWifiEnabledbool. Return whether Wi-Fi is enabled or disabled.
[read-only]
ScanResultsIList<ScanResult>. Return the results of the latest access point scan.
[read-only]
WifiStateAndroid.Net.WifiState. Gets the Wi-Fi enabled state.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

AddNetwork(WifiConfiguration) : int
Add a new network description to the set of configured networks.
static
CalculateSignalLevel(int, int) : int
Calculates the level of the signal.
CancelWps(WifiManager.WpsCallback)
Cancel any ongoing Wi-fi Protected Setup
static
CompareSignalLevel(int, int) : int
Compares two signal strengths.
CreateMulticastLock(string) : WifiManager.MulticastLock
Create a new MulticastLock
CreateWifiLock(string) : WifiManager.WifiLock
Creates a new WifiLock.
CreateWifiLock(Android.Net.WifiMode, string) : WifiManager.WifiLock
Creates a new WifiLock.
DisableNetwork(int) : bool
Disable a configured network.
Disconnect() : bool
Disassociate from the currently active access point.
EnableNetwork(int, bool) : bool
Allow a previously configured network to be associated with.
static
FromContext(Android.Content.Context) : WifiManager
Documentation for this section has not yet been entered.
Is5GHzBandSupported() : bool
PingSupplicant() : bool
Check that the supplicant daemon is responding to requests.
Reassociate() : bool
Reconnect to the currently active access point, even if we are already connected.
Reconnect() : bool
Reconnect to the currently active access point, if we are currently disconnected.
RemoveNetwork(int) : bool
Remove the specified network from the list of configured networks.
SaveConfiguration() : bool
Tell the supplicant to persist the current list of configured networks.
SetTdlsEnabled(Java.Net.InetAddress, bool)
Enable/Disable TDLS on a specific local route.
SetTdlsEnabledWithMacAddress(string, bool)
Similar to WifiManager.SetTdlsEnabled(Java.Net.InetAddress, System.Boolean), except this version allows you to specify remote endpoint with a MAC address.
SetWifiEnabled(bool) : bool
Enable or disable Wi-Fi.
StartScan() : bool
Request a scan for access points.
StartWps(WpsInfo, WifiManager.WpsCallback)
Start Wi-fi Protected Setup
UpdateNetwork(WifiConfiguration) : int
Update the network description of an existing configured network.