HomeDocs
Skip to main content

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,
});
},
});
},
});
Privacy agreementDeveloper agreementcontact us: developer_service.mi@transsion.com © 2024 MiniApp. All Rights Reserved.