public final class

ExternallyLoadedImageDecoder.Factory

extends java.lang.Object

implements ImageDecoder.Factory

 java.lang.Object

↳androidx.media3.exoplayer.image.ExternallyLoadedImageDecoder.Factory

Overview

A ImageDecoder.Factory for ExternallyLoadedImageDecoder instances.

Summary

Constructors
publicFactory(ExternallyLoadedImageDecoder.BitmapResolver bitmapResolver)

Creates the factory.

Methods
public ExternallyLoadedImageDecodercreateImageDecoder()

public intsupportsFormat(Format format)

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

Constructors

public Factory(ExternallyLoadedImageDecoder.BitmapResolver bitmapResolver)

Creates the factory.

Parameters:

bitmapResolver: The ExternallyLoadedImageDecoder.BitmapResolver to resolve the ExternallyLoadedImageDecoder.ExternalImageRequest to a Bitmap.

Methods

public int supportsFormat(Format format)

public ExternallyLoadedImageDecoder createImageDecoder()