frostwire / frostwire-jlibtorrent

A swig Java interface for libtorrent by the makers of FrostWire. Develop libtorrent based apps with the joy of coding in Java.
http://www.frostwire.com
MIT License
446 stars 137 forks source link

Applying Settings #159

Closed darkfrog26 closed 7 years ago

darkfrog26 commented 7 years ago

There doesn't seem to be any documentation about how to apply settings. I see there are references in settings_pack to proxy settings but it is incredibly unclear how to do this. I'm quite surprised there's absolutely no demos or wiki information about how to accomplish this.

gubatron commented 7 years ago

Feel free to submit a SettingsTest.java PR. You can find plenty of examples of how to use the settings API on FrostWire's source code.

If you use SettingsPack it's pretty self explanatory. As for what settings keys do what, there's plenty of documentation http://www.rasterbar.com/products/libtorrent/reference-Settings.html#settings_pack