Android Dev Summit, October 23-24: two days of technical content, directly from the Android team. Sign-up for livestream updates.

androidx.media2.player

Classes

MediaPlayer

A media player which plays MediaItems.

MediaTimestamp

An immutable object that represents the linear correlation between the media time and the system time.

PlaybackParams

Structure for common playback params.

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.