Class CMTime


  • public final class CMTime
    extends org.moe.natj.c.StructObject
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
        CMTime()  
        CMTime​(long value, int timescale, int flags, long epoch)  
      protected CMTime​(org.moe.natj.general.Pointer peer)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      long epoch()
      [@field] flags The flags, eg. kCMTimeFlags_Valid, kCMTimeFlags_PositiveInfinity, etc.
      int flags()
      [@field] timescale The timescale of the CMTime. value/timescale = seconds.
      void setEpoch​(long value)
      [@field] flags The flags, eg. kCMTimeFlags_Valid, kCMTimeFlags_PositiveInfinity, etc.
      void setFlags​(int value)
      [@field] timescale The timescale of the CMTime. value/timescale = seconds.
      void setTimescale​(int value)
      [@field] value The value of the CMTime. value/timescale = seconds.
      void setValue​(long value)  
      int timescale()
      [@field] value The value of the CMTime. value/timescale = seconds.
      long value()  
      • Methods inherited from class org.moe.natj.general.NativeObject

        finalize, getPeer, getPeerPointer
      • Methods inherited from class java.lang.Object

        clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CMTime

        public CMTime()
      • CMTime

        protected CMTime​(org.moe.natj.general.Pointer peer)
      • CMTime

        public CMTime​(long value,
                      int timescale,
                      int flags,
                      long epoch)
    • Method Detail

      • value

        public long value()
      • setValue

        public void setValue​(long value)
      • timescale

        public int timescale()
        [@field] value The value of the CMTime. value/timescale = seconds.
      • setTimescale

        public void setTimescale​(int value)
        [@field] value The value of the CMTime. value/timescale = seconds.
      • flags

        public int flags()
        [@field] timescale The timescale of the CMTime. value/timescale = seconds.
      • setFlags

        public void setFlags​(int value)
        [@field] timescale The timescale of the CMTime. value/timescale = seconds.
      • epoch

        public long epoch()
        [@field] flags The flags, eg. kCMTimeFlags_Valid, kCMTimeFlags_PositiveInfinity, etc.
      • setEpoch

        public void setEpoch​(long value)
        [@field] flags The flags, eg. kCMTimeFlags_Valid, kCMTimeFlags_PositiveInfinity, etc.