Language

WifiManager.FromContext(Context) Method

Definition

Retrieves a context's Wi-Fi system service as a Wi-Fi manager.

public static Android.Net.Wifi.WifiManager? FromContext(Android.Content.Context context);
static member FromContext : Android.Content.Context -> Android.Net.Wifi.WifiManager

Parameters

context
Context

The context from which to retrieve the Wi-Fi system service.

Returns

The service as a WifiManager, or null if the returned service is absent or is not a Wi-Fi manager.

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to