Class EncoderDataJNI

    • Constructor Detail

      • EncoderDataJNI

        public EncoderDataJNI()
    • Method Detail

      • registerInitializedCallback

        public static int registerInitializedCallback​(int index,
                                                      NotifyCallback callback,
                                                      boolean initialNotify)
      • cancelInitializedCallback

        public static void cancelInitializedCallback​(int index,
                                                     int uid)
      • getInitialized

        public static boolean getInitialized​(int index)
      • setInitialized

        public static void setInitialized​(int index,
                                          boolean initialized)
      • registerCountCallback

        public static int registerCountCallback​(int index,
                                                NotifyCallback callback,
                                                boolean initialNotify)
      • cancelCountCallback

        public static void cancelCountCallback​(int index,
                                               int uid)
      • getCount

        public static int getCount​(int index)
      • setCount

        public static void setCount​(int index,
                                    int count)
      • registerPeriodCallback

        public static int registerPeriodCallback​(int index,
                                                 NotifyCallback callback,
                                                 boolean initialNotify)
      • cancelPeriodCallback

        public static void cancelPeriodCallback​(int index,
                                                int uid)
      • getPeriod

        public static double getPeriod​(int index)
      • setPeriod

        public static void setPeriod​(int index,
                                     double period)
      • registerResetCallback

        public static int registerResetCallback​(int index,
                                                NotifyCallback callback,
                                                boolean initialNotify)
      • cancelResetCallback

        public static void cancelResetCallback​(int index,
                                               int uid)
      • getReset

        public static boolean getReset​(int index)
      • setReset

        public static void setReset​(int index,
                                    boolean reset)
      • registerMaxPeriodCallback

        public static int registerMaxPeriodCallback​(int index,
                                                    NotifyCallback callback,
                                                    boolean initialNotify)
      • cancelMaxPeriodCallback

        public static void cancelMaxPeriodCallback​(int index,
                                                   int uid)
      • getMaxPeriod

        public static double getMaxPeriod​(int index)
      • setMaxPeriod

        public static void setMaxPeriod​(int index,
                                        double maxPeriod)
      • registerDirectionCallback

        public static int registerDirectionCallback​(int index,
                                                    NotifyCallback callback,
                                                    boolean initialNotify)
      • cancelDirectionCallback

        public static void cancelDirectionCallback​(int index,
                                                   int uid)
      • getDirection

        public static boolean getDirection​(int index)
      • setDirection

        public static void setDirection​(int index,
                                        boolean direction)
      • registerReverseDirectionCallback

        public static int registerReverseDirectionCallback​(int index,
                                                           NotifyCallback callback,
                                                           boolean initialNotify)
      • cancelReverseDirectionCallback

        public static void cancelReverseDirectionCallback​(int index,
                                                          int uid)
      • getReverseDirection

        public static boolean getReverseDirection​(int index)
      • setReverseDirection

        public static void setReverseDirection​(int index,
                                               boolean reverseDirection)
      • registerSamplesToAverageCallback

        public static int registerSamplesToAverageCallback​(int index,
                                                           NotifyCallback callback,
                                                           boolean initialNotify)
      • cancelSamplesToAverageCallback

        public static void cancelSamplesToAverageCallback​(int index,
                                                          int uid)
      • getSamplesToAverage

        public static int getSamplesToAverage​(int index)
      • setSamplesToAverage

        public static void setSamplesToAverage​(int index,
                                               int samplesToAverage)
      • resetData

        public static void resetData​(int index)