DownloadedEditionsManager

public protocol DownloadedEditionsManager

Interface to manage downloaded editions.

  • Deletes from disk all the downloaded editions, calling onDeletedEdition for each edition when it is deleted from disk. completion is called when all editions have been deleted.

    Declaration

    Swift

    func deleteAllDownloadedEditions(onDeletedEdition: @escaping (UUID) -> Void, completion: @escaping () -> Void)
  • Deletes a single edition with id editionId.

    Declaration

    Swift

    func deleteEdition(editionId: UUID, completion: @escaping () -> Void)