Package org.robovm.apple.coremedia
Class CMTimeRange
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.rt.bro.Struct<CMTimeRange>
-
- org.robovm.apple.coremedia.CMTimeRange
-
- All Implemented Interfaces:
java.lang.Iterable<CMTimeRange>
public class CMTimeRange extends org.robovm.rt.bro.Struct<CMTimeRange>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CMTimeRange.AsValuedListMarshaler
static class
CMTimeRange.CMTimeRangePtr
-
Constructor Summary
Constructors Constructor Description CMTimeRange()
CMTimeRange(CMTime start, CMTime duration)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description NSDictionary
asDictionary(CFAllocator allocator)
boolean
containsTime(CMTime time)
boolean
containsTimeRange(CMTimeRange otherRange)
static CMTimeRange
create(CMTime start, CMTime duration)
static CMTimeRange
create(NSDictionary dictionaryRepresentation)
boolean
equals(CMTimeRange range2)
static CMTimeRange
fromTimeToTime(CMTime start, CMTime end)
CMTime
getDuration()
CMTime
getEnd()
CMTime
getStart()
CMTimeRange
intersection(CMTimeRange otherRange)
static CMTimeRange
Invalid()
CMTimeRange
setDuration(CMTime duration)
CMTimeRange
setStart(CMTime start)
void
show()
java.lang.String
toString()
CMTimeRange
union(CMTimeRange otherRange)
static CMTimeRange
Zero()
-
Methods inherited from class org.robovm.rt.bro.Struct
_sizeOf, allocate, allocate, as, clear, clear, copy, copy, copyWithMalloc, copyWithMalloc, free, iterator, iterator, malloc, malloc, next, next, offsetOf, previous, previous, sizeOf, sizeOf, toArray, toList, toStruct, update, update, update, wrap
-
-
-
-
Method Detail
-
getStart
public CMTime getStart()
-
setStart
public CMTimeRange setStart(CMTime start)
-
getDuration
public CMTime getDuration()
-
setDuration
public CMTimeRange setDuration(CMTime duration)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
Zero
public static CMTimeRange Zero()
- Since:
- Available in iOS 4.0 and later.
-
Invalid
public static CMTimeRange Invalid()
- Since:
- Available in iOS 4.0 and later.
-
create
public static CMTimeRange create(CMTime start, CMTime duration)
- Since:
- Available in iOS 4.0 and later.
-
union
public CMTimeRange union(CMTimeRange otherRange)
- Since:
- Available in iOS 4.0 and later.
-
intersection
public CMTimeRange intersection(CMTimeRange otherRange)
- Since:
- Available in iOS 4.0 and later.
-
equals
public boolean equals(CMTimeRange range2)
- Since:
- Available in iOS 4.0 and later.
-
containsTime
public boolean containsTime(CMTime time)
- Since:
- Available in iOS 4.0 and later.
-
containsTimeRange
public boolean containsTimeRange(CMTimeRange otherRange)
- Since:
- Available in iOS 4.0 and later.
-
getEnd
public CMTime getEnd()
- Since:
- Available in iOS 4.0 and later.
-
fromTimeToTime
public static CMTimeRange fromTimeToTime(CMTime start, CMTime end)
- Since:
- Available in iOS 4.0 and later.
-
asDictionary
public NSDictionary asDictionary(CFAllocator allocator)
- Since:
- Available in iOS 4.0 and later.
-
create
public static CMTimeRange create(NSDictionary dictionaryRepresentation)
- Since:
- Available in iOS 4.0 and later.
-
show
public void show()
- Since:
- Available in iOS 4.0 and later.
-
-