TimeUpdateEvent

@objc(THEOplayerTimeUpdateEvent)
public class TimeUpdateEvent : CurrentTimeEvent

Fired when PlayerEventTypes.TIME_UPDATE occurs for the THEOplayer.

Remark

  • Periodically thrown during playback to indicate that the currentTime property is changing to indicate the new playback position.
  • Will be kept up-to-date in case of discontinuous playback, e.g. because of a seek.
  • The current program date time of the player.

    Declaration

    Swift

    @objc
    public private(set) var currentProgramDateTime: Date? { get }