Class DateRangeEvent


public class DateRangeEvent extends InPlaylistTimedMetadataEvent
Payload that accompanies the onMeta() event for EXT-X-DATERANGE tags.
  • Constructor Details

  • Method Details

    • getAttributes

      public Map<String,String> getAttributes()
      Returns:
      A Map of all attributes from the EXT-X-DATERANGE tag.
    • getId

      public String getId()
      Returns:
      A string that uniquely identifies a Date Range in the playlist.
    • getStartDate

      public Date getStartDate()
      Returns:
      The date at which the Date Range begins.
    • getDuration

      public double getDuration()
      Returns:
      The PLANNED-DURATION of the EXT-X-DATERANGE tag. -1 if none was provided.
    • getMetadataType

      Overrides:
      getMetadataType in class InPlaylistTimedMetadataEvent
      Returns:
      The type of In-Playlist Timed Metadata event being fired