@Override
  public ExportResult<MediaContainerResource> export(UUID jobId, AD authData,
      Optional<ExportInformation> exportInfo) throws Exception {
    ExportResult<PhotosContainerResource> per = exportPhotos(jobId, authData, exportInfo);
    if (per.getThrowable().isPresent()) {
      return new ExportResult<>(per.getThrowable().get());
    }

    ExportResult<VideosContainerResource> ver = exportVideos(jobId, authData, exportInfo);
    if (ver.getThrowable().isPresent()) {
      return new ExportResult<>(ver.getThrowable().get());
    }
    return mergeResults(per, ver);
  }
Allows using existing Photo and Video adapters to create a Media adapter.
portability-spi-transfer/src/main/java/org/datatransferproject/spi/transfer/provider/converter/MediaExporterDecorator.java