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