Class DebugTextViewHelper
- java.lang.Object
-
- com.google.android.exoplayer2.util.DebugTextViewHelper
-
@Deprecated public class DebugTextViewHelper extends Object
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.
-
-
Constructor Summary
Constructors Constructor Description DebugTextViewHelper(ExoPlayer player, TextView textView)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected StringgetAudioString()Deprecated.Returns a string containing audio debugging information.protected StringgetDebugString()Deprecated.Returns the debugging information string to be shown by the targetTextView.protected StringgetPlayerStateString()Deprecated.Returns a string containing player state debugging information.protected StringgetVideoString()Deprecated.Returns a string containing video debugging information.voidstart()Deprecated.Starts periodic updates of theTextView.voidstop()Deprecated.Stops periodic updates of theTextView.protected voidupdateAndPost()Deprecated.
-
-
-
Method Detail
-
start
public final void start()
Deprecated.Starts periodic updates of theTextView. Must be called from the application's main thread.
-
stop
public final void stop()
Deprecated.Stops periodic updates of theTextView. Must be called from the application's main thread.
-
updateAndPost
protected final void updateAndPost()
Deprecated.
-
getDebugString
protected String getDebugString()
Deprecated.Returns the debugging information string to be shown by the targetTextView.
-
getPlayerStateString
protected String getPlayerStateString()
Deprecated.Returns a string containing player state debugging information.
-
getVideoString
protected String getVideoString()
Deprecated.Returns a string containing video debugging information.
-
getAudioString
protected String getAudioString()
Deprecated.Returns a string containing audio debugging information.
-
-