Share via


WifiManager.LocalOnlyHotspotReservation.WifiConfiguration Property

Definition

Returns the WifiConfiguration of the current Local Only Hotspot (LOHS).

public virtual Android.Net.Wifi.WifiConfiguration? WifiConfiguration { [Android.Runtime.Register("getWifiConfiguration", "()Landroid/net/wifi/WifiConfiguration;", "GetGetWifiConfigurationHandler", ApiSince=26)] get; }
[<get: Android.Runtime.Register("getWifiConfiguration", "()Landroid/net/wifi/WifiConfiguration;", "GetGetWifiConfigurationHandler", ApiSince=26)>]
member this.WifiConfiguration : Android.Net.Wifi.WifiConfiguration

Property Value

Attributes

Remarks

Returns the WifiConfiguration of the current Local Only Hotspot (LOHS). May be null if hotspot enabled and security type is not WifiConfiguration.KeyMgmt.None or WifiConfiguration.KeyMgmt.WPA2_PSK.

This member is deprecated. Use WifiManager#getSoftApConfiguration() to get the LOHS configuration.

Java documentation for android.net.wifi.WifiManager.LocalOnlyHotspotReservation.getWifiConfiguration().

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