DateRange

class DateRange

An EXT-X-DATERANGE tag of an HLS media playlist (RFC 8216, section 4.3.2.7), such as the SCTE-35 ad marker a live encoder writes at a cue point.

Dates are epoch milliseconds. Durations are milliseconds, or -1 when the tag does not carry the attribute. All attributes of the tag, including those this class does not interpret, are available through attributes with the quotes of quoted-string values removed.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Every attribute of the tag by name.

Link copied to clipboard

The CLASS attribute, or null.

Link copied to clipboard

The DURATION attribute in milliseconds, or -1.

Link copied to clipboard

The END-DATE attribute as epoch milliseconds, or -1.

Link copied to clipboard
val id: String

The ID attribute.

Link copied to clipboard

The PLANNED-DURATION attribute in milliseconds, or -1.

Link copied to clipboard

The START-DATE attribute as epoch milliseconds.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
Link copied to clipboard
open override fun toString(): String