This commit is contained in:
root
2025-10-02 17:09:36 +00:00
parent 54a533f267
commit 545b5e0d68
7 changed files with 278 additions and 1280 deletions

View File

@@ -16,13 +16,7 @@ import java.io.File
/**
* Main TorrentEngine class - the core of the torrent library
* This is the main API that applications should use
*
* Usage:
* ```
* val engine = TorrentEngine.getInstance(context)
* engine.addTorrent(magnetUri, savePath)
* ```
* This is the main API that applications should use.
*/
class TorrentEngine private constructor(private val context: Context) {
private val TAG = "TorrentEngine"