TrackChangeEvent

@objc(THEOplayerTrackChangeEvent)
public class TrackChangeEvent : NSObject, _TrackEventProtocol

Fired when TextTrackListEventTypes.CHANGE occurs for a TextTrackList.

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

    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 has its state just changed.

    Declaration

    Swift

    public private(set) var track: Track { get }
  • The Track which has its state just changed.

    Declaration

    Swift

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