DebugTextViewHelper
class DebugTextViewHelper
A helper class for periodically updating a TextView with debug information obtained from an ExoPlayer.
Summary
Public constructors |
|---|
DebugTextViewHelper(player: ExoPlayer!, textView: TextView!) |
Public functions |
|
|---|---|
Unit |
start()Starts periodic updates of the |
Unit |
stop()Stops periodic updates of the |
Protected functions |
|
|---|---|
String! |
Returns a string containing audio debugging information. |
String! |
Returns the debugging information string to be shown by the target |
String! |
Returns a string containing player state debugging information. |
String! |
Returns a string containing video debugging information. |
Unit |
Public constructors
DebugTextViewHelper
DebugTextViewHelper(player: ExoPlayer!, textView: TextView!)
| Parameters | |
|---|---|
player: ExoPlayer! |
The |
textView: TextView! |
The |
Public functions
Protected functions
getAudioString
@UnstableApi
protected fun getAudioString(): String!
Returns a string containing audio debugging information.
getDebugString
@UnstableApi
protected fun getDebugString(): String!
Returns the debugging information string to be shown by the target TextView.
getPlayerStateString
@UnstableApi
protected fun getPlayerStateString(): String!
Returns a string containing player state debugging information.
getVideoString
@UnstableApi
protected fun getVideoString(): String!
Returns a string containing video debugging information.