Edytuj

Udostępnij za pośrednictwem


NSValue.FromCMTime(CMTime) Method

Definition

Creates an NSValue that wraps a CMTime object..

[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

Parameters

time
CMTime

Returns

Attributes

Applies to