Package org.robovm.apple.coremedia
Class CMTime
public class CMTime extends Struct<CMTime>
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCMTime.AsValuedListMarshalerstatic classCMTime.CMTimePtrNested classes/interfaces inherited from class org.robovm.rt.bro.Struct
Struct.Marshaler -
Field Summary
Fields Modifier and Type Field Description static longMaxTimescale -
Constructor Summary
Constructors Constructor Description CMTime()CMTime(long value, int timescale, CMTimeFlags flags, long epoch) -
Method Summary
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, wrapMethods inherited from class org.robovm.rt.bro.NativeObject
equals, getHandle, hashCode, setHandle
-
Field Details
-
MaxTimescale
public static final long MaxTimescale- See Also:
- Constant Field Values
-
-
Constructor Details
-
CMTime
public CMTime() -
CMTime
-
-
Method Details
-
getValue
public long getValue() -
setValue
-
getTimescale
public int getTimescale() -
setTimescale
-
getFlags
-
setFlags
-
getEpoch
public long getEpoch() -
setEpoch
-
toString
-
Invalid
-
Indefinite
-
PositiveInfinity
-
NegativeInfinity
-
Zero
-
MappingInvalid
- Since:
- Available in iOS 9.0 and later.
-
create
-
create
-
create
-
getSeconds
public double getSeconds() -
convertScale
-
add
-
subtract
-
multiply
-
multiplyByFloat64
-
multiplyByRatio
-
compare
-
minimum
-
maximum
-
absoluteValue
-
asDictionary
-
create
-
show
public void show() -
mapTimeFromRangeToRange
-
clampToRange
-
mapDurationFromRangeToRange
-
foldIntoRange
- Since:
- Available in iOS 12.0 and later.
-
mappingMake
- Since:
- Available in iOS 9.0 and later.
-
mappingMakeEmpty
- Since:
- Available in iOS 9.0 and later.
-
mappingCopyAsDictionary
- Since:
- Available in iOS 9.0 and later.
-
mappingMakeFromDictionary
- Since:
- Available in iOS 9.0 and later.
-
mappingCopyDescription
- Since:
- Available in iOS 9.0 and later.
-
mappingShow
- Since:
- Available in iOS 9.0 and later.
-