Package com.castlabs.android.player
Interface TimelineListener
-
public interface TimelineListener
Deprecated.UseTimelineChangedListener
orPeriodChangedListener
insteadThe 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 timelinemanifest
- 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 ornull
when no more periods to play are present
-
-