WifiManager.ISuggestionConnectionStatusListener.OnConnectionStatus Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Called when the framework attempted to connect to a suggestion provided by the registering app, but the connection to the suggestion failed.
[Android.Runtime.Register("onConnectionStatus", "(Landroid/net/wifi/WifiNetworkSuggestion;I)V", "GetOnConnectionStatus_Landroid_net_wifi_WifiNetworkSuggestion_IHandler:Android.Net.Wifi.WifiManager/ISuggestionConnectionStatusListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=30)]
public void OnConnectionStatus (Android.Net.Wifi.WifiNetworkSuggestion wifiNetworkSuggestion, int failureReason);
[<Android.Runtime.Register("onConnectionStatus", "(Landroid/net/wifi/WifiNetworkSuggestion;I)V", "GetOnConnectionStatus_Landroid_net_wifi_WifiNetworkSuggestion_IHandler:Android.Net.Wifi.WifiManager/ISuggestionConnectionStatusListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=30)>]
abstract member OnConnectionStatus : Android.Net.Wifi.WifiNetworkSuggestion * int -> unit
Parameters
- wifiNetworkSuggestion
- WifiNetworkSuggestion
The suggestion which failed to connect.
- failureReason
- Int32
the connection failure reason code.
- Attributes
Remarks
Called when the framework attempted to connect to a suggestion provided by the registering app, but the connection to the suggestion failed.
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.