Instance Method

setEndTime:forItemWithPlayParameters:

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

Declaration

- (void)setEndTime:(NSTimeInterval)endTime forItemWithPlayParameters:(MPMusicPlayerPlayParameters *)playParameters;

Parameters

endTime

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

playParameters

The store identifier associated with the item in the queue whose ending time has been changed.

See Also

Setting Start and End Times

- setStartTime:forItemWithPlayParameters:

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