AVPlayer.SetRate(Single, CMTime, CMTime) 方法

定义

将 的速率和播放时间 CurrentItem 同步到 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

参数

rate
Single
itemTime
CMTime
hostClockTime
CMTime
属性

适用于