docs/doc/reference/com/google/android/exoplayer2/util/DebugTextViewHelper.html
Package com.google.android.exoplayer2.util
[@Deprecated](https://developer.android.com/reference/java/lang/Deprecated.html "class or interface in java.lang")public classDebugTextViewHelperextends[Object](https://developer.android.com/reference/java/lang/Object.html "class or interface in java.lang")
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.
A helper class for periodically updating a TextView with debug information obtained from an ExoPlayer.
Constructors | Constructor | Description |
| --- | --- |
| DebugTextViewHelper(ExoPlayer player, TextView textView) |
Deprecated.
|
All Methods Instance Methods Concrete Methods Deprecated Methods | Modifier and Type | Method | Description |
| --- | --- | --- |
| protected String | getAudioString() |
Deprecated.
Returns a string containing audio debugging information.
|
| protected String | getDebugString() |
Deprecated.
Returns the debugging information string to be shown by the target TextView.
|
| protected String | getPlayerStateString() |
Deprecated.
Returns a string containing player state debugging information.
|
| protected String | getVideoString() |
Deprecated.
Returns a string containing video debugging information.
|
| void | start() |
Deprecated.
Starts periodic updates of the TextView.
|
| void | stop() |
Deprecated.
Stops periodic updates of the TextView.
|
| protected void | updateAndPost() |
Deprecated.
|
-
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
public DebugTextViewHelper([ExoPlayer](../ExoPlayer.html "interface in com.google.android.exoplayer2")player,[TextView](https://developer.android.com/reference/android/widget/TextView.html "class or interface in android.widget")textView)
Deprecated.
Parameters:player - The ExoPlayer from which debug information should be obtained. Only players which are accessed on the main thread are supported ( player.getApplicationLooper() == Looper.getMainLooper()).textView - The TextView that should be updated to display the information.
-
public final void start()
Deprecated.
Starts periodic updates of the TextView. Must be called from the application's main thread.
-
public final void stop()
Deprecated.
Stops periodic updates of the TextView. Must be called from the application's main thread.
-
protected final void updateAndPost()
Deprecated.
-
protected[String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")getDebugString()
Deprecated.
Returns the debugging information string to be shown by the target TextView.
-
protected[String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")getPlayerStateString()
Deprecated.
Returns a string containing player state debugging information.
-
protected[String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")getVideoString()
Deprecated.
Returns a string containing video debugging information.
-
protected[String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")getAudioString()
Deprecated.
Returns a string containing audio debugging information.