public interface IDataDescriptorFactory
Modifier and Type | Method and Description |
---|---|
DataDescriptor |
createDescriptor(Torrent torrent,
Storage storage,
FileDownloadCompleteCallback fileCompletionCallback)
Create a data descriptor for a given torrent
with the storage provided as the data back-end.
|
DataDescriptor createDescriptor(Torrent torrent, Storage storage, FileDownloadCompleteCallback fileCompletionCallback)
torrent
- the torrent to create the descriptor forstorage
- the storage for the descriptorfileCompletionCallback
- the callback to call when a file download completes. nullableCopyright © 2016–2021. All rights reserved.