Package 

Interface VerizonMediaAdBreak

    • 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 getStartTime() The start time of the ad break, in seconds.
      abstract Double getEndTime() The end time of the ad break, in seconds.
      abstract Double getDuration() The duration of the ad break, in seconds.
      abstract VerizonMediaAdList getAds() The VerizonMediaAdList of ads in this ad break.
      abstract double getSkipOffset() The offset after which the ad break may be skipped, in seconds.
      abstract void setSkipOffset(double skipOffset) Sets the offset after which the ad break may be skipped, in seconds.
      • Methods inherited from class com.theoplayer.android.api.event.EventDispatcher

        addEventListener, removeEventListener
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • getStartTime

         abstract double getStartTime()

        The start time of the ad break, in seconds.

      • getEndTime

        @Nullable() abstract Double getEndTime()

        The end time of the ad break, in seconds. (Nullable)

        • For channels it can return 'null' when the end time has not yet been signaled.
      • getDuration

        @Nullable() abstract Double getDuration()

        The duration of the ad break, in seconds. (Nullable)

        • For channels it can return 'null' when the duration has not yet been signaled.
      • getSkipOffset

         abstract double getSkipOffset()

        The offset after which the ad break may be skipped, in seconds.

        • If the offset is -1, the ad is unskippable.
        • If the offset is 0, the ad is immediately skippable.
        • Otherwise it must be a positive (rational) number indicating the offset.

        Default: -1, getDefaultSkipOffset

      • setSkipOffset

         abstract void setSkipOffset(double skipOffset)

        Sets the offset after which the ad break may be skipped, in seconds.

        • If the offset is -1, the ad is unskippable.
        • If the offset is 0, the ad is immediately skippable.
        • Otherwise it must be a positive (rational) number indicating the offset.
        Parameters:
        skipOffset - the offset after which the ad break may be skipped, in seconds.