code: function _capture(type, successCallback, errorCallback, options) {
      var win = function(pluginResult) {
          successCallback(helpers.wrapMediaFiles(pluginResult));
      };
      exec(win, errorCallback, "Capture", type, [options]);
  }
docs: Launches a capture of different types.
  
  @param (DOMString} type
  @param {Function} successCB
  @param {Function} errorCB
  @param {CaptureVideoOptions} options