docs: function _capture(type, successCallback, errorCallback, options) {
      var win = function(pluginResult) {
          var mediaFiles = [];
          var i;
          for (i = 0; i < pluginResult.length; i++) {
              var mediaFile = new MediaFile();
              mediaFile.name = pluginResult[i].name;
              mediaFile.fullPath = pluginResult[i].fullPath;
              mediaFile.type = pluginResult[i].type;
              mediaFile.lastModifiedDate = pluginResult[i].lastModifiedDate;
              mediaFile.size = pluginResult[i].size;
              mediaFiles.push(mediaFile);
          }
          successCallback(mediaFiles);
      };
      exec(win, errorCallback, "Capture", type, [options]);
  }