8 lines
244 B
JavaScript
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]);
|
|
}
|
|
};
|