Package apple.coremedia.struct
Class CMTime
- java.lang.Object
-
- org.moe.natj.general.NativeObject
-
- org.moe.natj.c.StructObject
-
- apple.coremedia.struct.CMTime
-
public final class CMTime extends org.moe.natj.c.StructObject
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longepoch()< Differentiates between equal timestamps that are actually different because of looping, multi-item sequencing, etc.intflags()< The flags, eg.voidsetEpoch(long value)< Differentiates between equal timestamps that are actually different because of looping, multi-item sequencing, etc.voidsetFlags(int value)< The flags, eg.voidsetTimescale(int value)< The timescale of the CMTime.voidsetValue(long value)< The value of the CMTime.inttimescale()< The timescale of the CMTime.longvalue()< The value of the CMTime.
-
-
-
Method Detail
-
value
public long value()
< The value of the CMTime. value/timescale = seconds
-
setValue
public void setValue(long value)
< The value of the CMTime. value/timescale = seconds
-
timescale
public int timescale()
< The timescale of the CMTime. value/timescale = seconds.
-
setTimescale
public void setTimescale(int value)
< The timescale of the CMTime. value/timescale = seconds.
-
flags
public int flags()
< The flags, eg. kCMTimeFlags_Valid, kCMTimeFlags_PositiveInfinity, etc.
-
setFlags
public void setFlags(int value)
< The flags, eg. kCMTimeFlags_Valid, kCMTimeFlags_PositiveInfinity, etc.
-
epoch
public long epoch()
< Differentiates between equal timestamps that are actually different because of looping, multi-item sequencing, etc. Will be used during comparison: greater epochs happen after lesser ones. Additions/subtraction is only possible within a single epoch, however, since epoch length may be unknown/variable
-
setEpoch
public void setEpoch(long value)
< Differentiates between equal timestamps that are actually different because of looping, multi-item sequencing, etc. Will be used during comparison: greater epochs happen after lesser ones. Additions/subtraction is only possible within a single epoch, however, since epoch length may be unknown/variable
-
-