private static Long getUploadedTime(DownloadableFile downloadableFile) {
    Date updatedTime = null;
    if (downloadableFile instanceof PhotoModel) {
      updatedTime = ((PhotoModel) downloadableFile).getUploadedTime();
    } else if (downloadableFile instanceof VideoModel) {
      updatedTime = ((VideoModel) downloadableFile).getUploadedTime();
    }
    return updatedTime == null ? null : updatedTime.getTime();
  }
An interface that is synonymous to HTTP client to interact with the Apple Photos APIs.
extensions/data-transfer/portability-data-transfer-apple/src/main/java/org/datatransferproject/datatransfer/apple/photos/AppleMediaInterface.java