- prepare
Prepares the player for playback.
- release
Releases the player. This method must be called when the player is no longer
required. The player mu
- setPlayWhenReady
Sets whether playback should proceed when #getPlaybackState() == #STATE_READY.
If the player is alre
- addListener
Register a listener to receive events from the player. The listener's methods
will be invoked on the
- getCurrentPosition
Gets the current playback position in milliseconds.
- getPlayWhenReady
Whether playback will proceed when #getPlaybackState() == #STATE_READY.
- seekTo
Seeks to a position specified in milliseconds.
- blockingSendMessage
Blocking variant of #sendMessage(ExoPlayerComponent,int,Object) that does not
return until after the
- getPlaybackState
Returns the current state of the player.
- getSelectedTrack
Returns the index of the currently selected track for the specified renderer.
- getTrackCount
Returns the number of tracks exposed by the specified renderer.
- getTrackFormat
Returns the format of a track.