MPMusicPlayerMediaItemQueueDescriptor.SetEndTime(Double, MPMediaItem) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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