offGetWifiList
Introduction
Cancels listening for Wi-Fi list events.
Parameters
None
Sample Code
Page({
data: {
offGetWifiList: '',
},
onReady() {
this.offGetWifiList();
},
offGetWifiList() {
const _that = this;
dlt.offGetWifiList({
success: function (res) {
console.log('offGetWifiList success', res);
_that.setData({
offGetWifiList: res,
});
},
complete: function (res) {
console.log('offGetWifiList complete', res);
},
fail: function (res) {
console.log('offGetWifiList fail', res);
_that.setData({
offGetWifiList: res,
});
},
});
},
});