Class 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 Detail

      • 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 as TAG + "/" + 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 with Assertions checks enabled.
        See Also:
        Constant Field Values
      • TRACE_ENABLED

        public static final boolean TRACE_ENABLED
        Deprecated.
        Whether the library was compiled with TraceUtil trace 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 the registeredModules() string.
        Parameters:
        name - The name of the module being registered.