private ContinuationData mergeContinuationData(ContinuationData cd1, ContinuationData cd2) {
    if (cd1 == null) {
      return cd2;
    }
    if (cd2 == null) {
      return cd1;
    }
    ContinuationData res = new ContinuationData(cd1.getPaginationData());
    res.addContainerResources(cd1.getContainerResources());
    res.addContainerResources(cd2.getContainerResources());
    return res;
  }
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