Package org.robovm.apple.coremedia
Class CMClockOrTimebase
java.lang.Object
org.robovm.rt.bro.NativeObject
org.robovm.apple.corefoundation.CFType
org.robovm.apple.coremedia.CMClockOrTimebase
- All Implemented Interfaces:
AutoCloseable
- Direct Known Subclasses:
CMClock,CMTimebase
public class CMClockOrTimebase extends CFType
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCMClockOrTimebase.CMClockOrTimebasePtrNested classes/interfaces inherited from class org.robovm.apple.corefoundation.CFType
CFType.AsListMarshaler, CFType.CFTypePtr, CFType.Marshaler, CFType.NoRetainMarshaler -
Constructor Summary
Constructors Constructor Description CMClockOrTimebase() -
Method Summary
Modifier and Type Method Description CMTimeconvertTime(CMTime time, CMClockOrTimebase toClockOrTimebase)static CMTimeconvertTime(CMTime time, CMClockOrTimebase fromClockOrTimebase, CMClockOrTimebase toClockOrTimebase)CMTimegetAnchorTime()CMTimegetRelativeAnchorTime()doublegetRelativeRate(CMClockOrTimebase relativeToClockOrTimebase)protected OSStatusgetRelativeRateAndAnchorTime0(CMClockOrTimebase relativeToClockOrTimebase, DoublePtr outRelativeRate, CMTime.CMTimePtr outOfClockOrTimebaseAnchorTime, CMTime.CMTimePtr outRelativeToClockOrTimebaseAnchorTime)CMTimegetTime()booleanmightDrift(CMClockOrTimebase clockOrTimebase2)Methods inherited from class org.robovm.apple.corefoundation.CFType
autorelease, close, dispose, dispose, doDispose, equalsTo, finalize, getAllocator, getDescription, getRetainCount, getTypeID, getTypeIDDescription, hash, makeCollectable, release, release, retain, retain, show, toString
-
Constructor Details
-
CMClockOrTimebase
public CMClockOrTimebase()
-
-
Method Details
-
getAnchorTime
- Throws:
OSStatusException- Since:
- Available in iOS 6.0 and later.
-
getRelativeAnchorTime
- Throws:
OSStatusException- Since:
- Available in iOS 6.0 and later.
-
convertTime
- Since:
- Available in iOS 6.0 and later.
-
getRelativeRate
-
getRelativeRateAndAnchorTime0
protected OSStatus getRelativeRateAndAnchorTime0(CMClockOrTimebase relativeToClockOrTimebase, DoublePtr outRelativeRate, CMTime.CMTimePtr outOfClockOrTimebaseAnchorTime, CMTime.CMTimePtr outRelativeToClockOrTimebaseAnchorTime) -
convertTime
public static CMTime convertTime(CMTime time, CMClockOrTimebase fromClockOrTimebase, CMClockOrTimebase toClockOrTimebase) -
mightDrift
-
getTime
-