Class DateRangeMetadataCue

java.lang.Object
com.jwplayer.pub.api.media.meta.InPlaylistTimedMetadataCue
com.jwplayer.pub.api.media.meta.DateRangeMetadataCue
All Implemented Interfaces:
MetadataCue

public class DateRangeMetadataCue extends InPlaylistTimedMetadataCue
  • Constructor Details

    • DateRangeMetadataCue

      public DateRangeMetadataCue(String rawTag, double start, double end, Map<String,String> attributes, String id, Date startDate, double duration)
  • 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.
    • getMetadataCueType

      public MetadataCueType getMetadataCueType()
      Returns:
      The MetadataCueType