Bewerken

Delen via


AVPlayer.SetRate(Single, CMTime, CMTime) Method

Definition

Synchronizes the rate and playback time of the CurrentItem to the hostClockTime.

[Foundation.Export("setRate:time:atHostTime:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void SetRate (float rate, CoreMedia.CMTime itemTime, CoreMedia.CMTime hostClockTime);
abstract member SetRate : single * CoreMedia.CMTime * CoreMedia.CMTime -> unit
override this.SetRate : single * CoreMedia.CMTime * CoreMedia.CMTime -> unit

Parameters

rate
Single
itemTime
CMTime
hostClockTime
CMTime
Attributes

Applies to