NetworkInfo.NetworkParams.WifiSecurityLevel

public enum NetworkInfo.NetworkParams.WifiSecurityLevel


Level of security on a Wi-Fi network.

Summary

Enum Values

ENTERPRISE_192

The network is an enterprise network with 192-bit security

ENTERPRISE_EAP

The network is a protected enterprise network.

OPEN

The network is an unprotected public network.

PERSONAL

The network is a personal network such as WEP, WPA2-PSK

WIFI_SECURITY_UNSPECIFIED

Wi-Fi network security is not specified.

Public methods

static NetworkInfo.NetworkParams.WifiSecurityLevel

Returns the enum constant of this type with the specified name.

static NetworkInfo.NetworkParams.WifiSecurityLevel[]

Returns an array containing the constants of this enum type, in the order they're declared.

Enum Values

ENTERPRISE_192

NetworkInfo.NetworkParams.WifiSecurityLevel NetworkInfo.NetworkParams.WifiSecurityLevel.ENTERPRISE_192

The network is an enterprise network with 192-bit security

PERSONAL

NetworkInfo.NetworkParams.WifiSecurityLevel NetworkInfo.NetworkParams.WifiSecurityLevel.PERSONAL

The network is a personal network such as WEP, WPA2-PSK

Public methods

valueOf

public static NetworkInfo.NetworkParams.WifiSecurityLevel valueOf(String name)

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Returns
NetworkInfo.NetworkParams.WifiSecurityLevel

the enum constant with the specified name

Throws
java.lang.IllegalArgumentException

if this enum type has no constant with the specified name

values

public static NetworkInfo.NetworkParams.WifiSecurityLevel[] values()

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.

Returns
NetworkInfo.NetworkParams.WifiSecurityLevel[]

an array containing the constants of this enum type, in the order they're declared