Text Track Cue API

  • The base TextTrackCue Event protocol.

    Declaration

    Swift

    public protocol CueEventProtocol : EventProtocol
  • The base TextTrack cue Event protocol.

    Declaration

    Swift

    public protocol TextTrackCueEventProtocol : EventProtocol
  • Represents the HLS date range cue which is a part of the metadata text track.

    See more

    Declaration

    Swift

    public protocol DateRangeCue : TextTrackCue
  • The CustomAttribute object of the date range cue. - Remark: The attribute type does not include the ‘X-’ prefix present in the manifest.

    Declaration

    Swift

    @objc(THEOplayerCustomAttribute)
    public class CustomAttribute : NSObject, Codable
  • An array of CustomAttribute objects for the dateRangeCue.

    See more

    Declaration

    Swift

    @objc(THEOplayerCustomAttributes)
    public class CustomAttributes : NSObject, Codable
  • A TextTrackCue object represents an individual cue and provides methods and properties to access the data and events to act on changes to cue state. Depending on the TextTrack’s type, a cue might have different properties.

    See more

    Declaration

    Swift

    public protocol TextTrackCue : EventDispatcherProtocol
  • Web Video Text Tracks cue.

    Remark

    The content type is String.
    See more

    Declaration

    Swift

    public protocol WebVttCue : TextTrackCue
  • ID3 Text Track cue. Content type is [String:String].

    Declaration

    Swift

    public protocol Id3Cue : TextTrackCue