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:
java.lang.AutoCloseable
public class CMTimebase extends CMClockOrTimebase
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CMTimebase.CMTimebasePtr
static class
CMTimebase.Notifications
-
Nested classes/interfaces inherited from class org.robovm.apple.coremedia.CMClockOrTimebase
CMClockOrTimebase.CMClockOrTimebasePtr
-
Nested classes/interfaces inherited from class org.robovm.apple.corefoundation.CFType
CFType.AsListMarshaler, CFType.CFTypePtr, CFType.Marshaler, CFType.NoRetainMarshaler
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
CMTimebase()
-
Method Summary
-
Methods inherited from class org.robovm.apple.coremedia.CMClockOrTimebase
convertTime, convertTime, getAnchorTime, getRelativeAnchorTime, getRelativeRate, getRelativeRateAndAnchorTime0, mightDrift
-
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
-
create
public static CMTimebase create(CMClock masterClock) throws OSStatusException
- Throws:
OSStatusException
- Since:
- Available in iOS 6.0 and later.
-
create
public static CMTimebase create(CMTimebase masterTimebase) throws OSStatusException
- Throws:
OSStatusException
- Since:
- Available in iOS 6.0 and later.
-
setTime
public void setTime(CMTime time) throws OSStatusException
- 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
public void setRate(double rate) throws OSStatusException
- 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
public void addTimer(NSTimer timer, NSRunLoop runloop) throws OSStatusException
- Throws:
OSStatusException
- Since:
- Available in iOS 6.0 and later.
-
removeTimer
public void removeTimer(NSTimer timer) throws OSStatusException
- Throws:
OSStatusException
- Since:
- Available in iOS 6.0 and later.
-
setTimerNextFireTime
public void setTimerNextFireTime(NSTimer timer, CMTime fireTime) throws OSStatusException
- Throws:
OSStatusException
- Since:
- Available in iOS 6.0 and later.
-
setTimerToFireImmediately
public void setTimerToFireImmediately(NSTimer timer) throws OSStatusException
- Throws:
OSStatusException
- Since:
- Available in iOS 6.0 and later.
-
addTimerDispatchSource
public void addTimerDispatchSource(DispatchSource timerSource) throws OSStatusException
- Throws:
OSStatusException
- Since:
- Available in iOS 6.0 and later.
-
removeTimerDispatchSource
public void removeTimerDispatchSource(DispatchSource timerSource) throws OSStatusException
- 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
public void notificationBarrier() throws OSStatusException
- Throws:
OSStatusException
- Since:
- Available in iOS 6.0 and later.
-
EffectiveRateChangedNotification
public static NSString EffectiveRateChangedNotification()
- Since:
- Available in iOS 6.0 and later.
-
TimeJumpedNotification
public static NSString TimeJumpedNotification()
- Since:
- Available in iOS 6.0 and later.
-
EventTimeNotificationKey
protected static NSString EventTimeNotificationKey()
- Since:
- Available in iOS 7.0 and later.
-
getClassTypeID
public static long getClassTypeID()
- Since:
- Available in iOS 6.0 and later.
-
create0
protected static OSStatus create0(CFAllocator allocator, CMClock masterClock, CMTimebase.CMTimebasePtr timebaseOut)
- Since:
- Available in iOS 6.0 and later.
-
create0
protected static OSStatus create0(CFAllocator allocator, CMTimebase masterTimebase, CMTimebase.CMTimebasePtr timebaseOut)
- Since:
- Available in iOS 6.0 and later.
-
copyMasterTimebase0
protected CMTimebase copyMasterTimebase0()
- Since:
- Available in iOS 9.0 and later.
-
copyMasterClock0
protected CMClock copyMasterClock0()
- Since:
- Available in iOS 9.0 and later.
-
copyMaster0
protected CFType copyMaster0()
- Since:
- Available in iOS 9.0 and later.
-
copyUltimateMasterClock0
protected CMClock copyUltimateMasterClock0()
- Since:
- Available in iOS 9.0 and later.
-
getMasterTimebase
@Deprecated public CMTimebase getMasterTimebase()
Deprecated.Deprecated in iOS 9.0.- Since:
- Available in iOS 6.0 and later.
-
getMasterClock
@Deprecated public CMClock getMasterClock()
Deprecated.Deprecated in iOS 9.0.- Since:
- Available in iOS 6.0 and later.
-
getMaster
@Deprecated public CMTimebase getMaster()
Deprecated.Deprecated in iOS 9.0.- Since:
- Available in iOS 6.0 and later.
-
getUltimateMasterClock
@Deprecated public CMClock getUltimateMasterClock()
Deprecated.Deprecated in iOS 9.0.- Since:
- Available in iOS 6.0 and later.
-
getTime
public CMTime getTime()
- Overrides:
getTime
in classCMClockOrTimebase
- Since:
- Available in iOS 6.0 and later.
-
getTime
public CMTime getTime(int timescale, CMTimeRoundingMethod method)
- Since:
- Available in iOS 6.0 and later.
-
setAnchorTime0
protected OSStatus setAnchorTime0(CMTime timebaseTime, CMTime immediateMasterTime)
- Since:
- Available in iOS 6.0 and later.
-
getRate
public double getRate()
- Since:
- Available in iOS 6.0 and later.
-
setRate0
protected OSStatus setRate0(double rate)
- Since:
- Available in iOS 6.0 and later.
-
setRateAndAnchorTime0
protected OSStatus setRateAndAnchorTime0(double rate, CMTime timebaseTime, CMTime immediateMasterTime)
- Since:
- Available in iOS 6.0 and later.
-
getEffectiveRate
public double getEffectiveRate()
- Since:
- Available in iOS 6.0 and later.
-
addTimer0
protected OSStatus addTimer0(NSTimer timer, NSRunLoop runloop)
- Since:
- Available in iOS 6.0 and later.
-
setTimerNextFireTime0
protected OSStatus setTimerNextFireTime0(NSTimer timer, CMTime fireTime, int flags)
- Since:
- Available in iOS 6.0 and later.
-
setTimerToFireImmediately0
protected OSStatus setTimerToFireImmediately0(NSTimer timer)
- Since:
- Available in iOS 6.0 and later.
-
addTimerDispatchSource0
protected OSStatus addTimerDispatchSource0(DispatchSource timerSource)
- Since:
- Available in iOS 6.0 and later.
-
removeTimerDispatchSource0
protected OSStatus removeTimerDispatchSource0(DispatchSource timerSource)
- Since:
- Available in iOS 6.0 and later.
-
setTimerDispatchSourceNextFireTime0
protected OSStatus setTimerDispatchSourceNextFireTime0(DispatchSource timerSource, CMTime fireTime, int flags)
- Since:
- Available in iOS 6.0 and later.
-
setTimerDispatchSourceToFireImmediately0
protected OSStatus setTimerDispatchSourceToFireImmediately0(DispatchSource timerSource)
- Since:
- Available in iOS 6.0 and later.
-
notificationBarrier0
protected OSStatus notificationBarrier0()
- Since:
- Available in iOS 6.0 and later.
-
-