# wx.onWifiConnected(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 on the connection. Wi-Fi The incident.
# parameter
# function callback
Connect Wi-Fi Callback function for event of
# parameter
# Object res
attribute | type | Introductions |
---|---|---|
wifi | WifiInfo | Wi-Fi information |