AddTrackEvent

@objc(THEOplayerAddTrackEvent)
public class AddTrackEvent : NSObject, _TrackEventProtocol

Fired when TextTrackListEventTypes.ADD_TRACK occurs for a TextTrackList.

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

    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 }
  • The Track which was just added to the track list.

    Declaration

    Swift

    public private(set) var track: Track { get }
  • The Track which was just added to the track list.

    Declaration

    Swift

    @objc(track)
    public var track_Objc: Track_Objc { get }