HomeDocs
Skip to main content

dlt.offNetworkStatusChange

Introduction​

Remove the listener function for network status change events.

Parameters​

function listener The listener function for network status change events.

Return Value​

Object res

PropertyTypeDescription
successstringIndicates whether the operation was successful.

Example Code​

// pages/index/index.js

Page({
offNetworkStatusChange() {
dlt.offNetworkStatusChange(function (res) {
console.log("offNetworkStatusChange", res);
});
},
});
Privacy agreementDeveloper agreementcontact us: developer_private.mi@dlightek.com © 2024 MiniApp. All Rights Reserved.