WifiManager.CancelWps(WifiManager+WpsCallback) Method

Definition

Cancel any ongoing Wi-fi Protected Setup

[Android.Runtime.Register("cancelWps", "(Landroid/net/wifi/WifiManager$WpsCallback;)V", "GetCancelWps_Landroid_net_wifi_WifiManager_WpsCallback_Handler")]
public virtual void CancelWps (Android.Net.Wifi.WifiManager.WpsCallback? listener);
[<Android.Runtime.Register("cancelWps", "(Landroid/net/wifi/WifiManager$WpsCallback;)V", "GetCancelWps_Landroid_net_wifi_WifiManager_WpsCallback_Handler")>]
abstract member CancelWps : Android.Net.Wifi.WifiManager.WpsCallback -> unit
override this.CancelWps : Android.Net.Wifi.WifiManager.WpsCallback -> unit

Parameters

listener
WifiManager.WpsCallback

for callbacks on success or failure. Can be null.

Attributes

Exceptions

if the WifiManager instance needs to be initialized again

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