Skip to content

WiFi

Non-Visible component
Category Requires Version
Connectivity API 21, Android 5.0 Lollipop 2

Overview

A non-visible component that manages the WiFi settings of the device.

Permissions

Methods

BSSID

Returns: Text

Return the basic service set identifier (BSSID) of the current access point

callWiFi.BSSID

Disable

Disable the Wi-Fi

callWiFi.Disable

Enable

Enable the Wi-Fi

callWiFi.Enable

Is 5GHz Supported

Returns: Boolean

Return whether this adapter supports 5 GHz band

callWiFi.Is 5GHz Supported

Is Enabled

Returns: Boolean

Return whether Wi-Fi is enabled or disabled

callWiFi.Is Enabled

Is WiFi Direct Supported

Returns: Boolean

Return whether this adapter supports Wi-Fi Direct

callWiFi.Is WiFi Direct Supported

Returns: Number

Returns the current link speed in Mbps

callWiFi.Link Speed

Local IP

Returns: Text

Return the current Local IP

callWiFi.Local IP

Mac Address

Returns: Text

Returns the wlan mac address.

callWiFi.Mac Address

Signal Strength

Returns: Number

Returns the received signal strength indicator of the current 802.11 network, in dBm

callWiFi.Signal Strength

SSID

Returns: Text

Returns the service set identifier (SSID) of the current 802.11 network

callWiFi.SSID

Toggle

Toggle the Wi-Fi

callWiFi.Toggle