Package org.robovm.apple.coremedia
Class CMTimebase
java.lang.Object
org.robovm.rt.bro.NativeObject
org.robovm.apple.corefoundation.CFType
org.robovm.apple.coremedia.CMClockOrTimebase
org.robovm.apple.coremedia.CMTimebase
- All Implemented Interfaces:
AutoCloseable
public class CMTimebase extends CMClockOrTimebase
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCMTimebase.CMTimebasePtrstatic classCMTimebase.NotificationsNested 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 protectedCMTimebase() -
Method Summary
Methods inherited from class org.robovm.apple.coremedia.CMClockOrTimebase
convertTime, convertTime, getAnchorTime, 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
-
CMTimebase
protected CMTimebase()
-
-
Method Details
-
create
- Throws:
OSStatusException- Since:
- Available in iOS 6.0 and later.
-
create
- Throws:
OSStatusException- Since:
- Available in iOS 6.0 and later.
-
setTime
- Throws:
OSStatusException- Since:
- Available in iOS 6.0 and later.
-
setAnchorTime
public void setAnchorTime(CMTime timebaseTime, CMTime immediateMasterTime) throws OSStatusException- Throws:
OSStatusException- Since:
- Available in iOS 6.0 and later.
-
setRate
- Throws:
OSStatusException- Since:
- Available in iOS 6.0 and later.
-
setRateAndAnchorTime
public void setRateAndAnchorTime(double rate, CMTime timebaseTime, CMTime immediateMasterTime) throws OSStatusException- Throws:
OSStatusException- Since:
- Available in iOS 6.0 and later.
-
addTimer
- Throws:
OSStatusException- Since:
- Available in iOS 6.0 and later.
-
removeTimer
- Throws:
OSStatusException- Since:
- Available in iOS 6.0 and later.
-
setTimerNextFireTime
- Throws:
OSStatusException- Since:
- Available in iOS 6.0 and later.
-
setTimerToFireImmediately
- Throws:
OSStatusException- Since:
- Available in iOS 6.0 and later.
-
addTimerDispatchSource
- Throws:
OSStatusException- Since:
- Available in iOS 6.0 and later.
-
removeTimerDispatchSource
- Throws:
OSStatusException- Since:
- Available in iOS 6.0 and later.
-
setTimerDispatchSourceNextFireTime
public void setTimerDispatchSourceNextFireTime(DispatchSource timerSource, CMTime fireTime) throws OSStatusException- Throws:
OSStatusException- Since:
- Available in iOS 6.0 and later.
-
setTimerDispatchSourceToFireImmediately
public void setTimerDispatchSourceToFireImmediately(DispatchSource timerSource) throws OSStatusException- Throws:
OSStatusException- Since:
- Available in iOS 6.0 and later.
-
notificationBarrier
- Throws:
OSStatusException- Since:
- Available in iOS 6.0 and later.
-
EffectiveRateChangedNotification
-
TimeJumpedNotification
-
EventTimeNotificationKey
-
getClassTypeID
public static long getClassTypeID() -
create0
protected static OSStatus create0(CFAllocator allocator, CMClock sourceClock, CMTimebase.CMTimebasePtr timebaseOut) -
create0
protected static OSStatus create0(CFAllocator allocator, CMTimebase sourceTimebase, CMTimebase.CMTimebasePtr timebaseOut) -
copySourceTimebase0
- Since:
- Available in iOS 9.0 and later.
-
copySourceClock0
- Since:
- Available in iOS 9.0 and later.
-
copySource0
- Since:
- Available in iOS 9.0 and later.
-
copyUltimateSourceClock0
- Since:
- Available in iOS 9.0 and later.
-
getMasterTimebase
Deprecated.Deprecated in iOS 9.0. Use CMTimebaseCopySourceTimebase -
getMasterClock
Deprecated.Deprecated in iOS 9.0. Use CMTimebaseCopySourceClock -
getMaster
Deprecated.Deprecated in iOS 9.0. Use CMTimebaseCopySource -
getUltimateMasterClock
Deprecated.Deprecated in iOS 9.0. Use CMTimebaseCopyUltimateSourceClock -
setSourceClock0
-
setSourceTimebase0
-
getTime
- Overrides:
getTimein classCMClockOrTimebase
-
getTime
-
setTime0
-
setAnchorTime0
-
getRate
public double getRate() -
setRate0
-
setRateAndAnchorTime0
-
getEffectiveRate
public double getEffectiveRate() -
addTimer0
-
removeTimer0
-
setTimerNextFireTime0
-
setTimerToFireImmediately0
-
addTimerDispatchSource0
-
removeTimerDispatchSource0
-
setTimerDispatchSourceNextFireTime0
protected OSStatus setTimerDispatchSourceNextFireTime0(DispatchSource timerSource, CMTime fireTime, int flags) -
setTimerDispatchSourceToFireImmediately0
-
notificationBarrier0
-