Interface DebugViewProvider


  • @Deprecated
    public interface DebugViewProvider
    Deprecated.
    com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
    Provider for views to show diagnostic information during an export, for debugging.
    • Field Detail

      • NONE

        static final DebugViewProvider NONE
        Deprecated.
        Debug view provider that doesn't show any debug info.
    • Method Detail

      • getDebugPreviewSurfaceView

        @Nullable
        SurfaceView getDebugPreviewSurfaceView​(int width,
                                               int height)
        Deprecated.
        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.