Interface SegmentNotFoundEvent

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract double getSegmentStartTime() The time at which the segment should start.
      abstract String getError() The error message to indicate why the segment was not found.
      abstract int getRetryCount() The number of retries to fetch a given segment.
      • Methods inherited from class com.theoplayer.android.api.event.Event

        getDate, getType
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • getSegmentStartTime

         abstract double getSegmentStartTime()

        The time at which the segment should start.

        Returns:

        The time at which the segment should start, in seconds.

      • getError

        @NonNull() abstract String getError()

        The error message to indicate why the segment was not found.

        Returns:

        The error message. (NonNull)

      • getRetryCount

         abstract int getRetryCount()

        The number of retries to fetch a given segment.

        • If this returns -1, the number or retries is unknown or unavailable.
        Returns:

        The number of retries.