AI-generated Key Takeaways
-
Barcode.WiFi is a class used to extract WiFi network parameters from QR codes.
-
It includes nested classes for encryption types and constants for open, WEP, and WPA encryption levels.
-
Public methods allow retrieval of the WiFi network's encryption type, password, and SSID.
-
It inherits standard methods from the java.lang.Object class.
A wifi network parameters from a 'WIFI:' or similar QRCode type.
Nested Class Summary
| @interface | Barcode.WiFi.EncryptionType | Wifi encryption type constants. | |
Constant Summary
| int | TYPE_OPEN | Not encrypted. |
| int | TYPE_WEP | WEP level encryption. |
| int | TYPE_WPA | WPA level encryption. |
Public Method Summary
| int |
getEncryptionType()
Gets the encryption type of the WIFI.
|
| String |
getPassword()
Gets the password of the WIFI.
|
| String |
getSsid()
Gets the ssid of the WIFI.
|
Inherited Method Summary
Constants
public static final int TYPE_OPEN
Not encrypted.
public static final int TYPE_WEP
WEP level encryption.
public static final int TYPE_WPA
WPA level encryption.
Public Methods
public int getEncryptionType ()
Gets the encryption type of the WIFI.
See all
Barcode.WiFi.EncryptionType.
public String getPassword ()
Gets the password of the WIFI.
Returns null if not available.
public String getSsid ()
Gets the ssid of the WIFI.
Returns null if not available.