# wx.onGetWifiList(function callback)
Start from base library version 1.6.0. Please remaining backward compatible.
with Promise style call: Not supported
Mini Program plugin: Not supported
Listen to get Wi-Fi List data event
# parameter
# function callback
Get to Wi-Fi Callback function for list data events
# parameter
# Object res
attribute | type | Introductions |
---|---|---|
wifiList | Array.<WifiInfo> | Wi-Fi List data |