Package com.google.android.exoplayer2
Class ExoPlayerLibraryInfo
- java.lang.Object
-
- com.google.android.exoplayer2.ExoPlayerLibraryInfo
-
@Deprecated public final class ExoPlayerLibraryInfo extends Object
Deprecated.com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.Information about the media libraries.
-
-
Field Summary
Fields Modifier and Type Field Description static booleanASSERTIONS_ENABLEDDeprecated.Whether the library was compiled withAssertionschecks enabled.static StringTAGDeprecated.A tag to use when logging library information.static booleanTRACE_ENABLEDDeprecated.Whether the library was compiled withTraceUtiltrace enabled.static StringVERSIONDeprecated.The version of the library expressed as a string, for example "1.2.3".static intVERSION_INTDeprecated.The version of the library expressed as an integer, for example 1002003.static StringVERSION_SLASHYDeprecated.The version of the library expressed asTAG + "/" + VERSION.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static StringregisteredModules()Deprecated.Returns a string consisting of registered module names separated by ", ".static voidregisterModule(String name)Deprecated.Registers a module to be returned in theregisteredModules()string.
-
-
-
Field Detail
-
TAG
public static final String TAG
Deprecated.A tag to use when logging library information.- See Also:
- Constant Field Values
-
VERSION
public static final String VERSION
Deprecated.The version of the library expressed as a string, for example "1.2.3".- See Also:
- Constant Field Values
-
VERSION_SLASHY
public static final String VERSION_SLASHY
Deprecated.The version of the library expressed asTAG + "/" + VERSION.- See Also:
- Constant Field Values
-
VERSION_INT
public static final int VERSION_INT
Deprecated.The version of the library expressed as an integer, for example 1002003.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).- See Also:
- Constant Field Values
-
ASSERTIONS_ENABLED
public static final boolean ASSERTIONS_ENABLED
Deprecated.Whether the library was compiled withAssertionschecks enabled.- See Also:
- Constant Field Values
-
TRACE_ENABLED
public static final boolean TRACE_ENABLED
Deprecated.Whether the library was compiled withTraceUtiltrace enabled.- See Also:
- Constant Field Values
-
-
Method Detail
-
registeredModules
public static String registeredModules()
Deprecated.Returns a string consisting of registered module names separated by ", ".
-
registerModule
public static void registerModule(String name)
Deprecated.Registers a module to be returned in theregisteredModules()string.- Parameters:
name- The name of the module being registered.
-
-