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 ClassesModifier and TypeInterfaceDescriptionstatic classA model for DASH custom eventsstatic enumDefines different types of DASH custom events -
Method Summary
Modifier and TypeMethodDescriptionvoidonCustomDashEvent(CustomDashEventListener.CustomEvent customEvent) Callback method that will be triggered on custom DASH events
-
Method Details
-
onCustomDashEvent
Callback method that will be triggered on custom DASH events- Parameters:
customEvent- The custom event
-