media/testutils
tonihei e784d2c507 Add Player.isPlaying and Player.getPlaybackSuppressionReason
The player may suppress playback when waiting for audio focus even if the
state==Player.READY. There is currently no getter or callback to obtain this
piece of information for UI updates or analytics.

Also, it's a important derived state to know whether the playback position is
advancing. Add isPlaying and the corresponding callback to allow retrieving
this information more easily.

Issue:#6203
PiperOrigin-RevId: 268921721
2019-09-16 23:31:20 +01:00
..
src Add Player.isPlaying and Player.getPlaybackSuppressionReason 2019-09-16 23:31:20 +01:00
build.gradle Use constant to define androidx annotation version 2019-09-05 10:45:08 +01:00
README.md Publish test utils modules as release artificats. 2019-09-05 10:43:52 +01:00

ExoPlayer test utils

Provides utility classes for ExoPlayer unit and instrumentation tests.

  • Javadoc: Classes matching com.google.android.exoplayer2.testutil belong to this module.