public interface

DefaultDecoderFactory.Listener

 androidx.media3.transformer.DefaultDecoderFactory.Listener

Overview

Listener for decoder factory events.

Summary

Methods
public voidonCodecInitialized(java.lang.String codecName, java.util.List<ExportException> codecInitializationExceptions)

Reports that a codec was initialized.

Methods

public void onCodecInitialized(java.lang.String codecName, java.util.List<ExportException> codecInitializationExceptions)

Reports that a codec was initialized.

Called on the thread that is using the associated factory.

Parameters:

codecName: The name of the codec that was initialized.
codecInitializationExceptions: The list of non-fatal errors that occurred before the codec was successfully initialized, which is empty if no errors occurred.