close
The Wayback Machine - https://web.archive.org/web/20190408210025/https://developer.android.com/reference/android/net/wifi/WifiConfiguration.Protocol.html
Save the date! Android Dev Summit is coming to Sunnyvale, CA on Oct 23-24, 2019.
Added in API level 1
Deprecated in API level Q

WifiConfiguration.Protocol

public static class WifiConfiguration.Protocol
extends Object

java.lang.Object
   ↳ android.net.wifi.WifiConfiguration.Protocol


Recognized security protocols.

Summary

Constants

int RSN

RSN WPA2/WPA3/IEEE 802.11i

int WPA

This constant was deprecated in API level 28. Due to security and performance limitations, use of WPA-1 networks is discouraged. WPA-2 (RSN) should be used instead. * @apiSince 1

String varName

Fields

public static final String[] strings

Inherited methods

Constants

RSN

Added in API level 1
Deprecated in API level Q
public static final int RSN

RSN WPA2/WPA3/IEEE 802.11i

Constant Value: 1 (0x00000001)

WPA


Deprecated in API level 28
public static final int WPA

This constant was deprecated in API level 28.
Due to security and performance limitations, use of WPA-1 networks is discouraged. WPA-2 (RSN) should be used instead. * @apiSince 1

WPA/IEEE 802.11i/D3.0

Constant Value: 0 (0x00000000)

varName

Added in API level 1
Deprecated in API level Q
public static final String varName

Constant Value: "proto"

Fields

strings

Added in API level 1
Deprecated in API level Q
public static final String[] strings