Class FlacLibrary
- java.lang.Object
-
- com.google.android.exoplayer2.ext.flac.FlacLibrary
-
@Deprecated public final class FlacLibrary 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.Configures and queries the underlying native library.
-
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static boolean
isAvailable()
Deprecated.Returns whether the underlying library is available, loading it if necessary.static void
setLibraries(String... libraries)
Deprecated.Override the names of the Flac native libraries.
-
-
-
Method Detail
-
setLibraries
public static void setLibraries(String... libraries)
Deprecated.Override the names of the Flac native libraries. If an application wishes to call this method, it must do so before calling any other method defined by this class, and before instantiating anyLibflacAudioRenderer
andFlacExtractor
instances.- Parameters:
libraries
- The names of the Flac native libraries.
-
isAvailable
public static boolean isAvailable()
Deprecated.Returns whether the underlying library is available, loading it if necessary.
-
-