# 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 |
The translations are provided by WeChat Translation and are for reference only. In case of any inconsistency and discrepancy between the Chinese version and the English version, the Chinese version shall prevail.Incorrect translation. Tap to report.