2021-10-11 16:32:39 +08:00

8 lines
244 B
JavaScript

var exec = require('cordova/exec');
module.exports = {
capture(option, success, error) {
exec(success, error, 'CapturePlugin', 'capture', [option.width,option.height,option.frameRate,option.bitRate,option.limit,option.duration]);
}
};