Added in API level 1
Deprecated in API level 29

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 WAPI

WAPI Protocol

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.

String varName

Fields

public static final String[] strings

Inherited methods

Constants

RSN

Added in API level 1
public static final int RSN

RSN WPA2/WPA3/IEEE 802.11i

Constant Value: 1 (0x00000001)

WAPI

Added in API level 30
Deprecated in API level 29
public static final int WAPI

WAPI Protocol

Constant Value: 3 (0x00000003)

WPA

Added in API level 1
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.

WPA/IEEE 802.11i/D3.0

Constant Value: 0 (0x00000000)

varName

Added in API level 1
public static final String varName

Constant Value: "proto"

Fields

strings

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