VideoPlayerTimeDelegate

public protocol VideoPlayerTimeDelegate : AnyObject

A set of methods which allow to respond to video player time changes.

  • player(_:didChangeCurrentTime:) Default implementation

    Tells the delegate that the playback time of the current asset has changed.

    Default Implementation

    Declaration

    Swift

    func player(_ player: VideoPlayer, didChangeCurrentTime time: TimeInterval)

    Parameters

    player

    The player object

    time

    The time in seconds that the video playback has progressed.