Share via


NSValue.FromCMTimeRange(CMTimeRange) Method

Definition

Creates an NSValue that wraps a CMTimeRange object.

[Foundation.Export("valueWithCMTimeRange:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static Foundation.NSValue FromCMTimeRange(CoreMedia.CMTimeRange timeRange);
[<Foundation.Export("valueWithCMTimeRange:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member FromCMTimeRange : CoreMedia.CMTimeRange -> Foundation.NSValue

Parameters

timeRange
CMTimeRange

Returns

Attributes

Applies to