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

Object
clone()
boolean
equals(Object arg0)
void
finalize()
final Class<?>
getClass()
int
hashCode()
final void
notify()
final void
notifyAll()
String
toString()
final void
wait(long arg0, int arg1)
final void
wait(long arg0)
final void
wait()

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.