currentTime()
Returns the current time of the current player item.
Declaration
nonisolated func currentTime() -> CMTimeReturn Value
The current time of the current player item.
Discussion
This property isn’t key-value observable. To observe the player’s time, use addPeriodicTimeObserver(forInterval:queue:using:) or addBoundaryTimeObserver(forTimes:queue:using:).