Instance Method

setEndTime:forItem:

The time the designated media item is to stop playing.

Declaration

- (void)setEndTime:(NSTimeInterval)endTime forItem:(MPMediaItem *)mediaItem;

Parameters

endTime

The NSTimeInterval describing when the media item stops playing.

mediaItem

The media item in the queue whose ending time has been changed.

See Also

Setting Start and End Times

- setStartTime:forItem:

The time the designated media item is to start playing.