Język

WifiInfo.Builder.SetCurrentSecurityType(Int32) Method

Definition

Set the current security type

[Android.Runtime.Register("setCurrentSecurityType", "(I)Landroid/net/wifi/WifiInfo$Builder;", "", ApiSince=31)]
public Android.Net.Wifi.WifiInfo.Builder SetCurrentSecurityType(int securityType);
[<Android.Runtime.Register("setCurrentSecurityType", "(I)Landroid/net/wifi/WifiInfo$Builder;", "", ApiSince=31)>]
member this.SetCurrentSecurityType : int -> Android.Net.Wifi.WifiInfo.Builder

Parameters

securityType
Int32

Value is one of the following: WifiConfiguration.SECURITY_TYPE_OPEN; WifiConfiguration.SECURITY_TYPE_WEP; WifiConfiguration.SECURITY_TYPE_PSK; WifiConfiguration.SECURITY_TYPE_EAP; WifiConfiguration.SECURITY_TYPE_SAE; WifiConfiguration.SECURITY_TYPE_EAP_SUITE_B; WifiConfiguration.SECURITY_TYPE_OWE; WifiConfiguration.SECURITY_TYPE_WAPI_PSK; WifiConfiguration.SECURITY_TYPE_WAPI_CERT; WifiConfiguration.SECURITY_TYPE_EAP_WPA3_ENTERPRISE; WifiConfiguration.SECURITY_TYPE_EAP_WPA3_ENTERPRISE_192_BIT; WifiConfiguration.SECURITY_TYPE_DPP

Returns

This builder after updating the current security type.

Attributes

Remarks

Set the current security type

Android reference for android.net.wifi.WifiInfo.Builder.setCurrentSecurityType.

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