setEndTime(_:for:)
The time the designated media item is to stop playing.
Declaration
func setEndTime(_ endTime: TimeInterval, for mediaItem: MPMediaItem)Parameters
- endTime:
The Timeinterval describing when the media item stops playing.
- mediaItem:
The media item in the queue that has a changed end time.