AddCueEvent

@objc(THEOplayerAddCueEvent)
public class AddCueEvent : NSObject, _TextTrackCueEventProtocol

Fired when TextTrackEventTypes.ADD_CUE occurs for the list of TextTrackCues.

  • The textual representation of the type of event, “addcue”.

    Declaration

    Swift

    @objc
    public private(set) var type: String { get }
  • The date at which the event occurred.

    Declaration

    Swift

    @objc
    public private(set) var date: Date { get }
  • cue

    The TextTrackCue that was added.

    Declaration

    Swift

    public private(set) var cue: TextTrackCue { get }
  • The TextTrackCue that was added.

    Declaration

    Swift

    @objc(cue)
    public var cue_Objc: TextTrackCue_Objc { get }