Skip to content

AddTorrentConfiguration

adborbas edited this page Jun 5, 2022 · 1 revision

AddTorrentConfiguration

Configuration for adding a new torrent.

public struct AddTorrentConfiguration 

Initializers

init(management:paused:sequentialDownload:firstLastPiecePrio:)

public init(management: Management = .manual(savePath: ""),
                paused: Bool = false,
                sequentialDownload: Bool = false,
                firstLastPiecePrio: Bool = false) 

Properties

management

Torrent Management.

public let management: Management

paused

Add torrents in the paused state.

public let paused: Bool

sequentialDownload

Enable sequential download

public let sequentialDownload: Bool

firstLastPiecePrio

Prioritize download first last piece

public let firstLastPiecePrio: Bool