NetworkInfo.NetworkParams.WifiSecurityLevel

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 functions

java-static NetworkInfo.NetworkParams.WifiSecurityLevel!
valueOf(name: String!)

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

java-static Array<NetworkInfo.NetworkParams.WifiSecurityLevel!>!

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

Enum Values

ENTERPRISE_192

val NetworkInfo.NetworkParams.WifiSecurityLevel.ENTERPRISE_192NetworkInfo.NetworkParams.WifiSecurityLevel

The network is an enterprise network with 192-bit security

ENTERPRISE_EAP

val NetworkInfo.NetworkParams.WifiSecurityLevel.ENTERPRISE_EAPNetworkInfo.NetworkParams.WifiSecurityLevel

The network is a protected enterprise network.

OPEN

val NetworkInfo.NetworkParams.WifiSecurityLevel.OPENNetworkInfo.NetworkParams.WifiSecurityLevel

The network is an unprotected public network.

PERSONAL

val NetworkInfo.NetworkParams.WifiSecurityLevel.PERSONALNetworkInfo.NetworkParams.WifiSecurityLevel

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

WIFI_SECURITY_UNSPECIFIED

val NetworkInfo.NetworkParams.WifiSecurityLevel.WIFI_SECURITY_UNSPECIFIEDNetworkInfo.NetworkParams.WifiSecurityLevel

Wi-Fi network security is not specified.

Public functions

valueOf

java-static fun valueOf(name: String!): NetworkInfo.NetworkParams.WifiSecurityLevel!

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

java-static fun values(): Array<NetworkInfo.NetworkParams.WifiSecurityLevel!>!

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
Array<NetworkInfo.NetworkParams.WifiSecurityLevel!>!

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