Instance Property

currentTime

The elapsed time for the current playing item.

Declaration

var currentTime: TimeInterval { get }

Discussion

This property refers to how much of the audio file has already been played. The value in this property is updated during playback to reflect the current position of the playhead.

The value of this property is valid only when the player item’s status is WKAudioFilePlayerStatus.readyToPlay.