Package com.castlabs.android.player
Interface CustomDashEventListener
-
public interface CustomDashEventListenerThis 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 classCustomDashEventListener.CustomEventA model for DASH custom eventsstatic classCustomDashEventListener.EventTypeDefines different types of DASH custom events
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonCustomDashEvent(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
-
-