Back to Exoplayer

DebugViewProvider (ExoPlayer library)

docs/doc/reference/com/google/android/exoplayer2/util/DebugViewProvider.html

latest2.1 KB
Original Source

Package com.google.android.exoplayer2.util

Interface DebugViewProvider


[@Deprecated](https://developer.android.com/reference/java/lang/Deprecated.html "class or interface in java.lang")public interfaceDebugViewProvider

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 Summary

Fields | Modifier and Type | Field | Description | | --- | --- | --- | | static DebugViewProvider | NONE | Deprecated.

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

Method Summary

All Methods Instance Methods Abstract Methods Deprecated Methods | Modifier and Type | Method | Description | | --- | --- | --- | | 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. |

Field Detail

- 

NONE

static final[DebugViewProvider](DebugViewProvider.html "interface in com.google.android.exoplayer2.util")NONE

Deprecated.

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

Method Detail

- 

getDebugPreviewSurfaceView

@Nullable[SurfaceView](https://developer.android.com/reference/android/view/SurfaceView.html "class or interface in android.view")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.