Edit

Share via


NSValue.FromCMTimeRange(CMTimeRange) Method

Definition

Creates an NSValue that wraps a CMTimeRange object.

[Foundation.Export("valueWithCMTimeRange:")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public static Foundation.NSValue FromCMTimeRange (CoreMedia.CMTimeRange timeRange);
[Foundation.Export("valueWithCMTimeRange:")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 7, ObjCRuntime.PlatformArchitecture.All, null)]
public static Foundation.NSValue FromCMTimeRange (CoreMedia.CMTimeRange timeRange);
static member FromCMTimeRange : CoreMedia.CMTimeRange -> Foundation.NSValue

Parameters

timeRange
CMTimeRange

Returns

Attributes

Applies to