public final class

ImageAssetLoader.Factory

extends java.lang.Object

implements AssetLoader.Factory

 java.lang.Object

↳androidx.media3.transformer.ImageAssetLoader.Factory

Overview

An AssetLoader.Factory for ImageAssetLoader instances.

Summary

Constructors
publicFactory(Context context, BitmapLoader bitmapLoader)

Creates an instance.

Methods
public AssetLoadercreateAssetLoader(EditedMediaItem editedMediaItem, Looper looper, AssetLoader.Listener listener, AssetLoader.CompositionSettings compositionSettings)

from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructors

public Factory(Context context, BitmapLoader bitmapLoader)

Creates an instance.

Parameters:

context: The .
bitmapLoader: The BitmapLoader to use to load and decode images.

Methods

public AssetLoader createAssetLoader(EditedMediaItem editedMediaItem, Looper looper, AssetLoader.Listener listener, AssetLoader.CompositionSettings compositionSettings)