public final class ExoPlayerLibraryInfo extends Object
Modifier and Type | Field | Description |
---|---|---|
static boolean |
ASSERTIONS_ENABLED |
Whether the library was compiled with
Assertions
checks enabled. |
static String |
DEFAULT_USER_AGENT |
Deprecated.
ExoPlayer now uses the user agent of the underlying network stack by default.
|
static boolean |
GL_ASSERTIONS_ENABLED |
Whether an exception should be thrown in case of an OpenGl error.
|
static String |
TAG |
A tag to use when logging library information.
|
static boolean |
TRACE_ENABLED |
Whether the library was compiled with
TraceUtil
trace enabled. |
static String |
VERSION |
The version of the library expressed as a string, for example "1.2.3".
|
static int |
VERSION_INT |
The version of the library expressed as an integer, for example 1002003.
|
static String |
VERSION_SLASHY |
The version of the library expressed as
"ExoPlayerLib/" + VERSION . |
Modifier and Type | Method | Description |
---|---|---|
static String |
registeredModules() |
Returns a string consisting of registered module names separated by ", ".
|
static void |
registerModule(String name) |
Registers a module to be returned in the
registeredModules() string. |
public static final String TAG
public static final String VERSION
public static final String VERSION_SLASHY
"ExoPlayerLib/" + VERSION
.public static final int VERSION_INT
Three digits are used for each component of VERSION
. For example "1.2.3" has the
corresponding integer version 1002003 (001-002-003), and "123.45.6" has the corresponding
integer version 123045006 (123-045-006).
@Deprecated public static final String DEFAULT_USER_AGENT
public static final boolean ASSERTIONS_ENABLED
Assertions
checks enabled.public static final boolean GL_ASSERTIONS_ENABLED
public static final boolean TRACE_ENABLED
TraceUtil
trace enabled.public static String registeredModules()
public static void registerModule(String name)
registeredModules()
string.name
- The name of the module being registered.