- <init>
Default constructor. The same as Android's MediaPlayer(). When done with the
MediaPlayer, you should
- getVideoHeight
Returns the height of the video.
- getVideoWidth
Returns the width of the video.
- prepareAsync
Prepares the player for playback, asynchronously. After setting the datasource
and the display surfa
- setDataSource
Sets the data source (file-path or http/rtsp URL) to use.
- setOnBufferingUpdateListener
Register a callback to be invoked when the status of a network stream's buffer
has changed.
- setOnCompletionListener
Register a callback to be invoked when the end of a media source has been
reached during playback.
- setOnPreparedListener
Register a callback to be invoked when the media source is ready for playback.
- setOnTimedTextListener
- setOnVideoSizeChangedListener
Register a callback to be invoked when the video size is known or updated.
- start
Starts or resumes playback. If playback had previously been paused, playback
will continue from wher
- addTimedTextSource