public interface

Transformer.DebugViewProvider

 androidx.media3.transformer.Transformer.DebugViewProvider

Overview

Provider for views to show diagnostic information during transformation, for debugging.

Summary

Fields
public static final Transformer.DebugViewProviderNONE

Debug view provider that doesn't show any debug info.

Methods
public SurfaceViewgetDebugPreviewSurfaceView(int width, int height)

Returns a new surface view to show a preview of transformer output with the given width/height in pixels, or null if no debug information should be shown.

Fields

public static final Transformer.DebugViewProvider NONE

Debug view provider that doesn't show any debug info.

Methods

public SurfaceView getDebugPreviewSurfaceView(int width, int height)

Returns a new surface view to show a preview of transformer output with the given width/height in pixels, or null if no debug information should be shown.

This method may be called on an arbitrary thread.