RecorderManager.offError(function listener)
Introduction
Cancel the listener for recording error 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 error events.
Sample Code
// pages/index/index.js
Page({
offError() {
const recorderManager = dlt.getRecorderManager();
recorderManager.offError(() => {
console.log("Cancelled error listener");
});
},
});