Barcode.WiFi

public static class Barcode.WiFi extends Object

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.

Constant Value: 1

public static final int TYPE_WEP

WEP level encryption.

Constant Value: 3

public static final int TYPE_WPA

WPA level encryption.

Constant Value: 2

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.