Bewerken

Delen via


MPMusicPlayerMediaItemQueueDescriptor.SetEndTime(Double, MPMediaItem) Method

Definition

Sets the time that the media item will stop playing.

[Foundation.Export("setEndTime:forItem:")]
public virtual void SetEndTime (double endTime, MediaPlayer.MPMediaItem mediaItem);
abstract member SetEndTime : double * MediaPlayer.MPMediaItem -> unit
override this.SetEndTime : double * MediaPlayer.MPMediaItem -> unit

Parameters

endTime
Double

The time at which the media will stop playing.

mediaItem
MPMediaItem

The media item to modify.

Attributes

Applies to