Skip to content

Commit

Permalink
stop video method
Browse files Browse the repository at this point in the history
  • Loading branch information
dinitri committed Jun 4, 2024
1 parent 041a975 commit dd388f1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions www/SimpleCameraPreview.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ SimpleCameraPreview.captureVideo = function (onSuccess, onError) {
exec(onSuccess, onError, PLUGIN_NAME, "captureVideo");
};

SimpleCameraPreview.stopCaptureVideo = function (onSuccess, onError) {
exec(onSuccess, onError, PLUGIN_NAME, "stopCaptureVideo");
};

SimpleCameraPreview.setSize = function (options, onSuccess, onError) {
exec(onSuccess, onError, PLUGIN_NAME, "setSize", [options]);
};
Expand Down

0 comments on commit dd388f1

Please sign in to comment.