androidx.media2.player

Classes

MediaPlayer A media player which plays MediaItems. 
MediaPlayer.PlayerCallback Interface definition for callbacks to be invoked when the player has the corresponding events. 
MediaPlayer.TrackInfo Class for the player to return each audio/video/subtitle track's metadata. 
MediaTimestamp An immutable object that represents the linear correlation between the media time and the system time. 
PlaybackParams Structure for common playback params. 
PlaybackParams.Builder The builder class that makes it easy to chain setters to create a PlaybackParams object. 
TimedMetaData Class that embodies one timed metadata access unit, including
  • a time stamp, and
  • raw uninterpreted byte-array extracted directly from the container. 
VideoSize Immutable class for describing video size.