Contents

setEndTime(_:forItemWith:)

Sets the time the item with the associated play parameters is to stop playing.

Declaration

func setEndTime(_ endTime: TimeInterval, forItemWith playParameters: MPMusicPlayerPlayParameters)

Parameters

  • endTime:

    The Timeinterval describing when the item with designated play parameters stops playing.

  • playParameters:

    The play parameters associated with the item in the queue that has a changed end time.

See Also

Setting start and end times