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
Property | Type | Description |
---|---|---|
success | string | Indicates whether the operation was successful. |
Example Code
// pages/index/index.js
Page({
offNetworkStatusChange() {
dlt.offNetworkStatusChange(function (res) {
console.log("offNetworkStatusChange", res);
});
},
});