Vdo Player
interface VdoPlayer
Interface for controlling playback.
The VdoPlayer instance returned in onInitializationSuccess can be used to load media and control playback.
Types
Link copied to clipboard
interface PlaybackEventListener
Interface for callbacks related to playback events.
Functions
Link copied to clipboard
Register callbacks for playback events from this VdoPlayer
Link copied to clipboard
Returns the available tracks for the currently playing media.
Link copied to clipboard
Gets the time till which video is buffered
Link copied to clipboard
Returns a MediaInfo object containing info corresponding to the currently playing media.
Link copied to clipboard
Gets the current playback time of the video from the beginning.
Link copied to clipboard
Gets the duration of the current video.
Link copied to clipboard
Returns values of additional properties specific to current playback session.
Link copied to clipboard
Returns the currently active playback speed.
Link copied to clipboard
Returns the current state of the player.
Link copied to clipboard
* Called when the player configuration for requested media is loaded.
Link copied to clipboard
Whether playback will proceed when getPlaybackState == STATE_READY.
Link copied to clipboard
Returns the selected tracks for the currently playing media.
Link copied to clipboard
Returns if the current playback is adaptive.
Link copied to clipboard
Returns if the current player supports changing the playback speed.
Link copied to clipboard
Immediately starts loading a media for the player to play.
Link copied to clipboard
Remove a registered playback event listener from this VdoPlayer
Link copied to clipboard
abstract fun searchInSelectedSubtitle(searchText: String, subtitleSearchListener: SubtitleSearchListener)
Search in selected subtitle and seek to matching cues.
Link copied to clipboard
Set callback to provide event when video start resume from saved seek position
Link copied to clipboard
Sets the playback speed.
Link copied to clipboard
Sets whether playback should proceed when getPlaybackState == STATE_READY.
Link copied to clipboard
Sets a fixed (non-adaptive) selection of tracks.
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard