mobicontrol.wifi.WifiConfiguration

This class represents a Wi-Fi configuration.

Instances of this class can be stringified with JSON.stringify and then converted back to the WifiConfiguration instance using JSON.parse with the mobicontrol.json.revive parameter.
Check JSON Serialization tutorial for details.

WifiConfiguration

Since:

Members

readonly hasProxy :boolean

true if the access point has a proxy.
Since:

readonly hasWepSecurity :boolean

true if the access point has WEP security type.
Since:

readonly hasWpaSecurity :boolean

true if the access point has WPA security type.
Since:

readonly, nullable password :string

The password.
Since:

readonly proxyExclusionList :Array.<string>

Proxy exclusion list.
Since:

readonly, nullable proxyHost :string

Proxy host.
Since:

readonly, nullable proxyPacUrl :string

PAC Proxy URL.
Since:

readonly, nullable proxyPort :number

Proxy port.
Since:

readonly ssid :string

Service set identifier.
Since:

Methods

toJSON() → {object}

Customize JSON stringification behavior.

This function customizes behavior of JSON.stringify(): instead of this Wi-Fi configuration being serialized, the object returned by toJSON() will be serialized.

Note: This function is intended to be called internally by JSON.stringify(); it is not intended to be called directly.
Check JSON Serialization tutorial for details.

Returns:
object - Native JavaScript object representing this Wi-Fi configuration.
Since:

withPacProxy(url) → {mobicontrol.wifi.WifiConfiguration}

Set PAC proxy URL for the Wi-Fi configuration.
Parameters:
Name Type Description
url string PAC proxy URL, must not be empty.
Returns:
mobicontrol.wifi.WifiConfiguration - This Wi-Fi configuration.
Since:

withProxy(host, port, exclusionListopt) → {mobicontrol.wifi.WifiConfiguration}

Set proxy host for the Wi-Fi configuration.
Parameters:
Name Type Attributes Description
host string Proxy host.
port number Proxy port.
exclusionList Array.<string> <optional>
Proxy exclusion list, must not contain empty or null values.
Returns:
mobicontrol.wifi.WifiConfiguration - This Wi-Fi configuration.
Since:

withWepSecurity(password) → {mobicontrol.wifi.WifiConfiguration}

Set WEP security type for the Wi-Fi configuration.
Parameters:
Name Type Description
password string WEP password, must not be empty.
Returns:
mobicontrol.wifi.WifiConfiguration - This Wi-Fi configuration.
Since:

withWpaSecurity(password) → {mobicontrol.wifi.WifiConfiguration}

Set WPA security type for the Wi-Fi configuration.
Parameters:
Name Type Description
password string WPA password, must be at least 8 characters long.
Returns:
mobicontrol.wifi.WifiConfiguration - This Wi-Fi configuration.
Since: