public final class

BitmapFactoryImageDecoder.Factory

extends java.lang.Object

implements ImageDecoder.Factory

 java.lang.Object

↳androidx.media3.exoplayer.image.BitmapFactoryImageDecoder.Factory

Overview

A factory for BitmapFactoryImageDecoder instances.

Summary

Constructors
publicFactory()

Creates an instance using a BitmapFactory implementation of BitmapFactoryImageDecoder.BitmapDecoder.

publicFactory(BitmapFactoryImageDecoder.BitmapDecoder bitmapDecoder)

Creates an instance.

Methods
public BitmapFactoryImageDecodercreateImageDecoder()

public intsupportsFormat(Format format)

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

Constructors

public Factory()

Creates an instance using a BitmapFactory implementation of BitmapFactoryImageDecoder.BitmapDecoder.

public Factory(BitmapFactoryImageDecoder.BitmapDecoder bitmapDecoder)

Creates an instance.

Parameters:

bitmapDecoder: The BitmapFactoryImageDecoder.BitmapDecoder used to turn a byte arrays into a bitmap.

Methods

public int supportsFormat(Format format)

public BitmapFactoryImageDecoder createImageDecoder()