docs/doc/reference/com/google/android/exoplayer2/transformer/ImageAssetLoader.html
Package com.google.android.exoplayer2.transformer
All Implemented Interfaces:AssetLoader
[@Deprecated](https://developer.android.com/reference/java/lang/Deprecated.html "class or interface in java.lang")public final classImageAssetLoaderextends[Object](https://developer.android.com/reference/java/lang/Object.html "class or interface in java.lang")implements[AssetLoader](AssetLoader.html "interface in com.google.android.exoplayer2.transformer")
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.
An AssetLoader implementation that loads images into Bitmap instances.
Supports the image formats listed here except from GIFs, which could exhibit unexpected behavior.
Nested Classes | Modifier and Type | Class | Description |
| --- | --- | --- |
| static class | ImageAssetLoader.Factory |
Deprecated.
An AssetLoader.Factory for ImageAssetLoader instances.
|
-
AssetLoader.Listener, AssetLoader.SupportedOutputTypes
Fields | Modifier and Type | Field | Description |
| --- | --- | --- |
| static String | MIME_TYPE_IMAGE_ALL |
Deprecated.
|
-
SUPPORTED_OUTPUT_TYPE_DECODED, SUPPORTED_OUTPUT_TYPE_ENCODED
All Methods Instance Methods Concrete Methods Deprecated Methods | Modifier and Type | Method | Description |
| --- | --- | --- |
| ImmutableMap<Integer,String> | getDecoderNames() |
Deprecated.
Return the used decoders' names.
|
| @com.google.android.exoplayer2.transformer.Transformer.ProgressState int | getProgress(ProgressHolder progressHolder) |
Deprecated.
Returns the current Transformer.ProgressState and updates progressHolder with the current progress if it is available.
|
| void | release() |
Deprecated.
Stops loading data and releases all resources associated with the asset loader.
|
| void | start() |
Deprecated.
Starts the asset loader. |
-
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
public static final[String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")MIME_TYPE_IMAGE_ALL
Deprecated. See Also:Constant Field Values
-
public void start()
Deprecated.
Description copied from interface: AssetLoader
Starts the asset loader.
Specified by:start in interface AssetLoader
-
public @com.google.android.exoplayer2.transformer.Transformer.ProgressState int getProgress([ProgressHolder](ProgressHolder.html "class in com.google.android.exoplayer2.transformer")progressHolder)
Deprecated.
Description copied from interface: AssetLoader
Returns the current Transformer.ProgressState and updates progressHolder with the current progress if it is available.
Specified by:getProgress in interface AssetLoaderParameters:progressHolder - A ProgressHolder, updated to hold the percentage progress if available.Returns:The Transformer.ProgressState.
-
public[ImmutableMap](https://guava.dev/releases/31.1-android/api/docs/com/google/common/collect/ImmutableMap.html?is-external=true "class or interface in com.google.common.collect")<[Integer](https://developer.android.com/reference/java/lang/Integer.html "class or interface in java.lang"),[String](https://developer.android.com/reference/java/lang/String.html?is-external=true "class or interface in java.lang")> getDecoderNames()
Deprecated.
Description copied from interface: AssetLoader
Return the used decoders' names.
Specified by:getDecoderNames in interface AssetLoaderReturns:The decoders' names keyed by track type.
-
public void release()
Deprecated.
Description copied from interface: AssetLoader
Stops loading data and releases all resources associated with the asset loader.
Specified by:release in interface AssetLoader