public final class LibTorrent
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
boostVersion() |
static int |
boostVersionNum() |
static int |
findMetricIdx(java.lang.String name)
given a name of a metric, this function returns the counter index of it,
or -1 if it could not be found.
|
static boolean |
hasArmNeonSupport()
If the native library is an ARM architecture variant, returns true
if the running platform has NEON support.
|
static java.lang.String |
jlibtorrentVersion() |
static java.lang.String |
opensslVersion() |
static int |
opensslVersionNum() |
static java.lang.String |
revision()
The git revision of libtorrent the native library is using.
|
static java.util.List<StatsMetric> |
sessionStatsMetrics()
This free function returns the list of available metrics exposed by
libtorrent's statistics API.
|
static java.lang.String |
version()
The version string as reported by libtorrent
|
static int |
versionNum()
The version number as reported by libtorrent
|
public static int versionNum()
public static java.lang.String version()
public static java.lang.String revision()
This is not the internal revision libtorrent reports, since
that string is updated from time to time. This library can be
using an up to date revision, this string is manually
hardcoded in each version of jlibtorrent. See
libtorrentConstants.LIBTORRENT_REVISION for the libtorrent string.
public static int boostVersionNum()
public static java.lang.String boostVersion()
public static int opensslVersionNum()
public static java.lang.String opensslVersion()
public static java.lang.String jlibtorrentVersion()
public static java.util.List<StatsMetric> sessionStatsMetrics()
public static int findMetricIdx(java.lang.String name)
name - the name of the metricpublic static boolean hasArmNeonSupport()