MediaPlayerTimeDelegate
public protocol MediaPlayerTimeDelegate : AnyObject
A set of methods which allow to respond to media player time changes.
-
player(_:Default implementationdidChangeCurrentTime: ) Tells the delegate that the playback time of the current asset has changed.
Default Implementation
Declaration
Swift
func player(_ player: MediaPlayer, didChangeCurrentTime time: TimeInterval)Parameters
playerThe player object
timeThe time in seconds that the media playback has progressed.
View on GitHub
MediaPlayerTimeDelegate Protocol Reference