AssetLoader.Factory


public interface AssetLoader.Factory


A factory for AssetLoader instances.

Summary

Public methods

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

Creates an AssetLoader instance.

Public methods

createAssetLoader

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

Creates an AssetLoader instance.

Parameters
EditedMediaItem editedMediaItem

The EditedMediaItem to load.

Looper looper

The Looper that's used to access the AssetLoader after it's been created.

AssetLoader.Listener listener

The Listener on which the AssetLoader should notify of events.

AssetLoader.CompositionSettings compositionSettings

The CompositionSettings.

Returns
AssetLoader

An AssetLoader.