DateRangeCue_Objc

@objc(THEOplayerDateRangeCue)
public protocol DateRangeCue_Objc : TextTrackCue_Objc

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.

    Remark

    • Supports double-precision floating-point format.

    Declaration

    Swift

    @objc(duration)
    var duration_Objc: NSNumber? { get }
  • Returns the expected duration in seconds of the timed metadata. Use this whenever the exact duration is not known.

    Remark

    • Supports double-precision floating-point format.

    Declaration

    Swift

    @objc(plannedDuration)
    var plannedDuration_Objc: NSNumber? { 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 }