setFilePriority

suspend fun setFilePriority(fileIndex: Int, priority: Int)

Set a file's download priority. A piece shared by two files takes the higher of the two files' priorities (libtorrent's rule), recomputed across all files.