NSValue.FromCMTime(CMTime) 方法

定义

创建包装 CMTime 对象的 NSValue。

[Foundation.Export("valueWithCMTime:")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public static Foundation.NSValue FromCMTime (CoreMedia.CMTime time);
[Foundation.Export("valueWithCMTime:")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 7, ObjCRuntime.PlatformArchitecture.All, null)]
public static Foundation.NSValue FromCMTime (CoreMedia.CMTime time);
static member FromCMTime : CoreMedia.CMTime -> Foundation.NSValue

参数

time
CMTime

返回

属性

适用于