docs/doc/reference/com/google/android/exoplayer2/util/DebugViewProvider.html
Package com.google.android.exoplayer2.util
[@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.
Fields | Modifier and Type | Field | Description |
| --- | --- | --- |
| static DebugViewProvider | NONE |
Deprecated.
Debug view provider that doesn't show any debug info. |
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.
|
-
static final[DebugViewProvider](DebugViewProvider.html "interface in com.google.android.exoplayer2.util")NONE
Deprecated.
Debug view provider that doesn't show any debug info.
-
@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.