RecorderManager.offStop(function listener)
Introduction
Cancel the listener for recording stop events.
Usage Restrictions
Supported from 4.0.0
or higher version of the basic library.
Parameters
function listener
Listener function to be removed for recording stop events.
Sample Code
// pages/index/index.js
Page({
offStop() {
const recorderManager = dlt.getRecorderManager();
recorderManager.offStop(() => {
console.log("Cancelled stop listener");
});
},
});