Partager via


NSValue.FromCMTimeRange(CMTimeRange) Méthode

Définition

Crée une valeur NSValue qui encapsule un objet 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

Paramètres

timeRange
CMTimeRange

Retours

Attributs

S’applique à