HI Guys,
Am using CaptureAudio feature of the PCF as below but its throwing an error - Required method not supported on device
any help is appreciated.
var self = this;
var promise1 = new Promise<File>(function (resolve, reject) {
setTimeout(function () {
debugger;
self._context.device.captureAudio()
}, 300);
});
promise1.then(function (value) {
debugger;
console.log(value);
// expected output: "foo"
});
Regards,
Pavan Kumar Garlapati