Partager via


WifiManager.StartWps(WpsInfo, WifiManager+WpsCallback) Method

Definition

Start Wi-fi Protected Setup

[Android.Runtime.Register("startWps", "(Landroid/net/wifi/WpsInfo;Landroid/net/wifi/WifiManager$WpsCallback;)V", "GetStartWps_Landroid_net_wifi_WpsInfo_Landroid_net_wifi_WifiManager_WpsCallback_Handler")]
public virtual void StartWps (Android.Net.Wifi.WpsInfo? config, Android.Net.Wifi.WifiManager.WpsCallback? listener);
[<Android.Runtime.Register("startWps", "(Landroid/net/wifi/WpsInfo;Landroid/net/wifi/WifiManager$WpsCallback;)V", "GetStartWps_Landroid_net_wifi_WpsInfo_Landroid_net_wifi_WifiManager_WpsCallback_Handler")>]
abstract member StartWps : Android.Net.Wifi.WpsInfo * Android.Net.Wifi.WifiManager.WpsCallback -> unit
override this.StartWps : Android.Net.Wifi.WpsInfo * Android.Net.Wifi.WifiManager.WpsCallback -> unit

Parameters

config
WpsInfo

WPS configuration (does not support Label)

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