Class ImageAssetLoader.Factory
- java.lang.Object
-
- com.google.android.exoplayer2.transformer.ImageAssetLoader.Factory
-
- All Implemented Interfaces:
AssetLoader.Factory
- Enclosing class:
- ImageAssetLoader
public static final class ImageAssetLoader.Factory extends Object implements AssetLoader.Factory
AnAssetLoader.Factory
forImageAssetLoader
instances.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AssetLoader
createAssetLoader(EditedMediaItem editedMediaItem, Looper looper, AssetLoader.Listener listener)
Creates anAssetLoader
instance.
-
-
-
Constructor Detail
-
Factory
public Factory(Context context)
-
-
Method Detail
-
createAssetLoader
public AssetLoader createAssetLoader(EditedMediaItem editedMediaItem, Looper looper, AssetLoader.Listener listener)
Description copied from interface:AssetLoader.Factory
Creates anAssetLoader
instance.- Specified by:
createAssetLoader
in interfaceAssetLoader.Factory
- Parameters:
editedMediaItem
- TheEditedMediaItem
to load.looper
- TheLooper
that's used to access theAssetLoader
after it's been created.listener
- TheAssetLoader.Listener
on which theAssetLoader
should notify of events.- Returns:
- An
AssetLoader
.
-
-