RecorderManager.onStart(function listener)
Introduction
Listen for recording start 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 start events.
Sample Code
// pages/index/index.js
Page({
onStart() {
const recorderManager = dlt.getRecorderManager();
recorderManager.onStart(() => {
console.log("Recording started");
});
recorderManager.start();
},
});