Package org.robovm.apple.coremedia
Class CMClock
java.lang.Object
org.robovm.rt.bro.NativeObject
org.robovm.apple.corefoundation.CFType
org.robovm.apple.coremedia.CMClockOrTimebase
org.robovm.apple.coremedia.CMClock
- All Implemented Interfaces:
AutoCloseable
public class CMClock extends CMClockOrTimebase
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCMClock.CMClockPtrNested classes/interfaces inherited from class org.robovm.apple.coremedia.CMClockOrTimebase
CMClockOrTimebase.CMClockOrTimebasePtrNested classes/interfaces inherited from class org.robovm.apple.corefoundation.CFType
CFType.AsListMarshaler, CFType.CFTypePtr, CFType.Marshaler, CFType.NoRetainMarshaler -
Constructor Summary
Constructors Modifier Constructor Description protectedCMClock() -
Method Summary
Modifier and Type Method Description static longconvertHostTimeToSystemUnits(CMTime hostTime)static CMClockcreateAudioClock()static CMClockcreateAudioClock(CFAllocator allocator)protected static OSStatuscreateAudioClock0(CFAllocator allocator, CMClock.CMClockPtr clockOut)static CMTimecreateHostTimeFromSystemUnits(long hostTime)CMTimegetAnchorReferenceTime()CMTimegetAnchorTime()protected OSStatusgetAnchorTime0(CMTime.CMTimePtr clockTimeOut, CMTime.CMTimePtr referenceClockTimeOut)static longgetClassTypeID()static CMClockgetHostTimeClock()CMTimegetTime()voidinvalidate()booleanmightDrift(CMClock otherClock)Methods inherited from class org.robovm.apple.coremedia.CMClockOrTimebase
convertTime, convertTime, getRelativeAnchorTime, getRelativeRate, getRelativeRateAndAnchorTime0, mightDriftMethods 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
-
CMClock
protected CMClock()
-
-
Method Details
-
createAudioClock
- Throws:
OSStatusException- Since:
- Available in iOS 6.0 and later.
-
createAudioClock
- Throws:
OSStatusException- Since:
- Available in iOS 6.0 and later.
-
getAnchorTime
- Overrides:
getAnchorTimein classCMClockOrTimebase- Throws:
OSStatusException- Since:
- Available in iOS 6.0 and later.
-
getAnchorReferenceTime
- Throws:
OSStatusException- Since:
- Available in iOS 6.0 and later.
-
getClassTypeID
public static long getClassTypeID() -
getHostTimeClock
-
convertHostTimeToSystemUnits
-
createHostTimeFromSystemUnits
-
getTime
- Overrides:
getTimein classCMClockOrTimebase
-
getAnchorTime0
protected OSStatus getAnchorTime0(CMTime.CMTimePtr clockTimeOut, CMTime.CMTimePtr referenceClockTimeOut) -
mightDrift
-
invalidate
public void invalidate() -
createAudioClock0
-