WiFi

Inheritance: java.lang.Object

public class WiFi

Represents WiFi network connection details.

Constructors

Constructor Description
WiFi() Creates VCard instance with default values.

Methods

Method Description
getSSID() Gets or sets WiFi SSID Name.
setSSID(String value) Gets or sets WiFi SSID Name.
getPassword() Gets or sets WiFi Password.
setPassword(String value) Gets or sets WiFi Password.
getEncryption() Gets or sets WiFi encryption WiFiEncryptionType.
setEncryption(int value) Gets or sets WiFi encryption WiFiEncryptionType.
getHidden() Gets or sets if WiFi is Hidden SSID.
setHidden(boolean value) Gets or sets if WiFi is Hidden SSID.
equals(Object obj) Overwrites Equals method to compare VCard properties
hashCode() Overrides GetHashCode method

WiFi()

public WiFi()

Creates VCard instance with default values.

getSSID()

public final String getSSID()

Gets or sets WiFi SSID Name.

Returns: java.lang.String

setSSID(String value)

public final void setSSID(String value)

Gets or sets WiFi SSID Name.

Parameters:

Parameter Type Description
value java.lang.String

getPassword()

public final String getPassword()

Gets or sets WiFi Password.

Returns: java.lang.String

setPassword(String value)

public final void setPassword(String value)

Gets or sets WiFi Password.

Parameters:

Parameter Type Description
value java.lang.String

getEncryption()

public final int getEncryption()

Gets or sets WiFi encryption WiFiEncryptionType.

Returns: int

setEncryption(int value)

public final void setEncryption(int value)

Gets or sets WiFi encryption WiFiEncryptionType.

Parameters:

Parameter Type Description
value int

getHidden()

public final boolean getHidden()

Gets or sets if WiFi is Hidden SSID.

Returns: boolean

setHidden(boolean value)

public final void setHidden(boolean value)

Gets or sets if WiFi is Hidden SSID.

Parameters:

Parameter Type Description
value boolean

equals(Object obj)

public boolean equals(Object obj)

Overwrites Equals method to compare VCard properties

Parameters:

Parameter Type Description
obj java.lang.Object VCard object to compare with.

Returns: boolean - Returns true if passed VCard object has same type and all its properties are equal to this instance properties.

hashCode()

public int hashCode()

Overrides GetHashCode method

Returns: int - VCard hash code