Class Action.WaitForTimelineChanged

    • Constructor Detail

      • WaitForTimelineChanged

        public WaitForTimelineChanged​(String tag,
                                      @Nullable
                                      Timeline expectedTimeline,
                                      @TimelineChangeReason
                                      @com.google.android.exoplayer2.Player.TimelineChangeReason int expectedReason)
        Creates action waiting for a timeline change for a given reason.
        Parameters:
        tag - A tag to use for logging.
        expectedTimeline - The expected timeline or null if any timeline change is relevant.
        expectedReason - The expected timeline change reason.
      • WaitForTimelineChanged

        public WaitForTimelineChanged​(String tag)
        Creates action waiting for any timeline change for any reason.
        Parameters:
        tag - A tag to use for logging.