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

Disable

Disable the Wi-Fi

Enable

Enable the Wi-Fi

Is 5GHz Supported

Returns: Boolean

Return whether this adapter supports 5 GHz band

Is Enabled

Returns: Boolean

Return whether Wi-Fi is enabled or disabled

Is WiFi Direct Supported

Returns: Boolean

Return whether this adapter supports Wi-Fi Direct

Returns: Number

Returns the current link speed in Mbps

Local IP

Returns: Text

Return the current Local IP

Mac Address

Returns: Text

Returns the wlan mac address.

Signal Strength

Returns: Number

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

SSID

Returns: Text

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

Toggle

Toggle the Wi-Fi


Last update: November 9, 2022