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
| Name |
Last commit
|
Last Update |
|---|---|---|
| .. | ||
| CacheAsserts.java | Loading commit data... | |
| DefaultRenderersFactoryAsserts.java | Loading commit data... | |
| FakeMediaChunk.java | Loading commit data... | |
| FakeMediaChunkIterator.java | Loading commit data... | |
| FakeMediaClockRenderer.java | Loading commit data... | |
| FakeShuffleOrder.java | Loading commit data... | |
| FakeTrackSelection.java | Loading commit data... | |
| FakeTrackSelector.java | Loading commit data... | |
| MediaPeriodAsserts.java | Loading commit data... | |
| MediaSourceTestRunner.java | Loading commit data... | |
| OggTestData.java | Loading commit data... | |
| RobolectricUtil.java | Loading commit data... | |
| StubExoPlayer.java | Loading commit data... | |
| TestDownloadManagerListener.java | Loading commit data... | |
| TimelineAsserts.java | Loading commit data... |