Поделиться через


NSValue.FromCMTimeRange(CMTimeRange) Метод

Определение

Создает значение NSValue, которое заключает в оболочку объект CMTimeRange.

[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

Параметры

timeRange
CMTimeRange

Возвращаемое значение

Атрибуты

Применяется к