Package com.castlabs.android.player
Interface CustomDashEventListener
-
public interface CustomDashEventListener
This listener provides custom DASH events which appears in DASH manifest. Resume: When the stream is resumed in a period where the callback is present. Pause: When the stream is paused in a period where the callback is present. Rewind: When there is a jump position that is before the currently playing position in the timeline. Close: When the playback reaches the end of the period.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
CustomDashEventListener.CustomEvent
A model for DASH custom eventsstatic class
CustomDashEventListener.EventType
Defines different types of DASH custom events
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onCustomDashEvent(CustomDashEventListener.CustomEvent customEvent)
Callback method that will be triggered on custom DASH events
-
-
-
Method Detail
-
onCustomDashEvent
void onCustomDashEvent(CustomDashEventListener.CustomEvent customEvent)
Callback method that will be triggered on custom DASH events- Parameters:
customEvent
- The custom event
-
-