DateRangeCue

public protocol DateRangeCue : TextTrackCue

Represents the HLS date range cue which is a part of the metadata text track.

  • Identifier of some set of attributes with associated value semantics.

    Declaration

    Swift

    var attributeClass: String? { get }
  • Returns the date at which the DateRange begins.

    Declaration

    Swift

    var startDate: Date { get }
  • Returns the date at which the DateRange ends. The date will be equal to or later than the startDate.

    Declaration

    Swift

    var endDate: Date? { get }
  • Returns the duration in seconds of the timed metadata.

    Declaration

    Swift

    var duration: Double? { get }
  • Returns the expected duration in seconds of the timed metadata. Use this whenever the exact duration is not known.

    Declaration

    Swift

    var plannedDuration: Double? { get }
  • Returns true if the end of this DateRange is equal to the startDate of the Following Range.

    Remark

    The Following Range is the DateRange of the same CLASS that has the earliest startDate after the startDate of the range in question.

    Declaration

    Swift

    var endOnNext: Bool { get }
  • Returns the SCTE ‘cmd’ splice_info_section.

    Declaration

    Swift

    var scte35Cmd: Data? { get }
  • Returns the SCTE ‘out’ splice_info_section.

    Declaration

    Swift

    var scte35Out: Data? { get }
  • Returns the SCTE ‘in’ splice_info_section.

    Declaration

    Swift

    var scte35In: Data? { get }
  • Returns all client-defined attributes. The attribute name does not include the ‘X-’ prefix.

    Declaration

    Swift

    var customAttributes: CustomAttributes { get }