Język

WifiNetworkSpecifier.Builder.SetWpa2EnterpriseConfig Method

Definition

Set the associated enterprise configuration for this network.

[Android.Runtime.Register("setWpa2EnterpriseConfig", "(Landroid/net/wifi/WifiEnterpriseConfig;)Landroid/net/wifi/WifiNetworkSpecifier$Builder;", "", ApiSince=29)]
public Android.Net.Wifi.WifiNetworkSpecifier.Builder SetWpa2EnterpriseConfig(Android.Net.Wifi.WifiEnterpriseConfig enterpriseConfig);
[<Android.Runtime.Register("setWpa2EnterpriseConfig", "(Landroid/net/wifi/WifiEnterpriseConfig;)Landroid/net/wifi/WifiNetworkSpecifier$Builder;", "", ApiSince=29)>]
member this.SetWpa2EnterpriseConfig : Android.Net.Wifi.WifiEnterpriseConfig -> Android.Net.Wifi.WifiNetworkSpecifier.Builder

Parameters

enterpriseConfig
WifiEnterpriseConfig

Instance of WifiEnterpriseConfig. This value cannot be null.

Returns

Instance of Builder to enable chaining of the builder method. This value cannot be null.

Attributes

Remarks

Set the associated enterprise configuration for this network. Needed for authenticating to WPA2-EAP networks. See WifiEnterpriseConfig for description. Local-only connection will not support Trust On First Use (TOFU). If TOFU is enabled on this Enterprise Config, framework will reject the connection. See WifiEnterpriseConfig.enableTrustOnFirstUse

Android reference for android.net.wifi.WifiNetworkSpecifier.Builder.setWpa2EnterpriseConfig.

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