Package com.castlabs.android.player
Interface TimelineListener
-
public interface TimelineListenerDeprecated.UseTimelineChangedListenerorPeriodChangedListenerinsteadThe 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 voidonPeriodChanged(com.google.android.exoplayer2.Timeline.Period period)Deprecated.Called whenever the period being currently played is changed.voidonTimelineChanged(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 ornullwhen no more periods to play are present
-
-