media/extensions/cast/src
tonihei f8d81d05a4 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-20 10:07:10 -07:00
..
main Add Player.isPlaying and Player.getPlaybackSuppressionReason 2019-09-20 10:07:10 -07:00
test Use getItemIds to get the actual size of the Cast media queue 2019-04-01 20:32:01 +01:00