Partager via


NSValue.FromCMTime(CMTime) Méthode

Définition

Crée une valeur NSValue qui encapsule un objet CMTime.

[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

Paramètres

time
CMTime

Retours

Attributs

S’applique à