invalidatePlaybackState()
Invalidates the controller’s current playback state and fetches the updated state from the sample buffer playback delegate object.
Declaration
func invalidatePlaybackState()Discussion
Call this method whenever you start or pause playback and when the underlying content duration changes.