Edit

Share via


MPMusicPlayerMediaItemQueueDescriptor.SetStartTime Method

Definition

Sets the time that the media item will start playing.

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

Parameters

startTime
Double

The time at which the media will start playing.

mediaItem
MPMediaItem

The media item to modify.

Attributes

Applies to