addTracker

fun addTracker(url: String, tier: Int = 0): CreateTorrent

Adds a tracker. Duplicate URLs are ignored. The tier is the fallback priority (all tier-0 trackers are tried first, then tier-1, ...); the URL list is kept sorted by tier, matching create_torrent::add_tracker.