Share via


MPMusicPlayerPlayParametersQueueDescriptor.SetEndTime Method

Definition

Sets the end time for the item that is described by the provided play parameters.

[Foundation.Export("setEndTime:forItemWithPlayParameters:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void SetEndTime(double endTime, MediaPlayer.MPMusicPlayerPlayParameters playParameters);
[<Foundation.Export("setEndTime:forItemWithPlayParameters:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member SetEndTime : double * MediaPlayer.MPMusicPlayerPlayParameters -> unit
override this.SetEndTime : double * MediaPlayer.MPMusicPlayerPlayParameters -> unit

Parameters

endTime
Double

The time at which the described item will stop playing.

playParameters
MPMusicPlayerPlayParameters

The parameters that describe the item.

Attributes

Applies to