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:
java.lang.AutoCloseable
- Direct Known Subclasses:
CMClock
,CMTimebase
public class CMClockOrTimebase extends CFType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CMClockOrTimebase.CMClockOrTimebasePtr
-
Nested 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
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CMTime
convertTime(CMTime time, CMClockOrTimebase toClockOrTimebase)
static CMTime
convertTime(CMTime time, CMClockOrTimebase fromClockOrTimebase, CMClockOrTimebase toClockOrTimebase)
CMTime
getAnchorTime()
CMTime
getRelativeAnchorTime()
double
getRelativeRate(CMClockOrTimebase relativeToClockOrTimebase)
protected OSStatus
getRelativeRateAndAnchorTime0(CMClockOrTimebase relativeToClockOrTimebase, org.robovm.rt.bro.ptr.DoublePtr outRelativeRate, CMTime.CMTimePtr outOfClockOrTimebaseAnchorTime, CMTime.CMTimePtr outRelativeToClockOrTimebaseAnchorTime)
CMTime
getTime()
boolean
mightDrift(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
-
-
-
-
Method Detail
-
getAnchorTime
public CMTime getAnchorTime() throws OSStatusException
- Throws:
OSStatusException
- Since:
- Available in iOS 6.0 and later.
-
getRelativeAnchorTime
public CMTime getRelativeAnchorTime() throws OSStatusException
- Throws:
OSStatusException
- Since:
- Available in iOS 6.0 and later.
-
convertTime
public CMTime convertTime(CMTime time, CMClockOrTimebase toClockOrTimebase)
- Since:
- Available in iOS 6.0 and later.
-
getRelativeRate
public double getRelativeRate(CMClockOrTimebase relativeToClockOrTimebase)
- Since:
- Available in iOS 6.0 and later.
-
getRelativeRateAndAnchorTime0
protected OSStatus getRelativeRateAndAnchorTime0(CMClockOrTimebase relativeToClockOrTimebase, org.robovm.rt.bro.ptr.DoublePtr outRelativeRate, CMTime.CMTimePtr outOfClockOrTimebaseAnchorTime, CMTime.CMTimePtr outRelativeToClockOrTimebaseAnchorTime)
- Since:
- Available in iOS 6.0 and later.
-
convertTime
public static CMTime convertTime(CMTime time, CMClockOrTimebase fromClockOrTimebase, CMClockOrTimebase toClockOrTimebase)
- Since:
- Available in iOS 6.0 and later.
-
mightDrift
public boolean mightDrift(CMClockOrTimebase clockOrTimebase2)
- Since:
- Available in iOS 6.0 and later.
-
getTime
public CMTime getTime()
- Since:
- Available in iOS 6.0 and later.
-
-