Interface TimelineListener


public interface TimelineListener
The implementations of this interface will receive timeline and period changed events.
Since:
4.2.9
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onPeriodChanged(com.google.android.exoplayer2.Timeline.Period period)
    Deprecated.
    Called whenever the period being currently played is changed.
    void
    onTimelineChanged(com.google.android.exoplayer2.Timeline timeline, Object manifest)
    Deprecated.
    Called whenever the timeline is changed
  • Method Details

    • onTimelineChanged

      void onTimelineChanged(@NonNull com.google.android.exoplayer2.Timeline timeline, @Nullable Object manifest)
      Deprecated.
      Called whenever the timeline is changed
      Parameters:
      timeline - The new timeline
      manifest - The manifest, in case there's any
    • onPeriodChanged

      void onPeriodChanged(@Nullable com.google.android.exoplayer2.Timeline.Period period)
      Deprecated.
      Called whenever the period being currently played is changed.
      Parameters:
      period - The new period or null when no more periods to play are present