Modifier and Type | Method and Description |
---|---|
SecurityMode |
SoftAPConfiguration.getSecurityMode()
Gets SoftAP security mode.
|
SecurityMode |
AccessPoint.getSecurityMode()
Gets the security mode (
SecurityMode ). |
static SecurityMode |
SecurityMode.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SecurityMode[] |
SecurityMode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
WifiManager.join(AccessPoint accessPoint,
java.lang.String passphrase,
SecurityMode securityMode)
Joins a Wi-Fi network using a Wi-Fi access point, a passphrase and a security mode.
|
void |
WifiManager.join(java.lang.String SSID,
java.lang.String passphrase,
SecurityMode securityMode)
Joins a wireless network using an SSID and a passphrase.
|
void |
SoftAPConfiguration.setSecurityMode(SecurityMode securityMode)
Sets SoftAP security mode.
|
void |
AccessPoint.setSecurityMode(SecurityMode securityMode)
Sets the security mode (
SecurityMode ). |
Constructor and Description |
---|
AccessPoint(java.lang.String ssid,
byte[] bssid,
float rssi,
int channel,
SecurityMode securityMode,
WPSMode[] wpsModes)
Constructs a Wi-Fi Access Point instance.
|
AccessPoint(java.lang.String ssid,
SecurityMode securityMode)
Constructs a Wi-Fi access point instance.
|