Package com.castlabs.android.player

## Interface TimelineListener

-     public interface TimelineListener

  Deprecated.
  Use `TimelineChangedListener` or `PeriodChangedListener` instead
  The implementations of this interface will receive timeline and period changed events.
  Since:
    4.2.9

- - ### Method Summary

    All Methods Instance Methods Abstract Methods Deprecated Methods
    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 Detail

    - #### 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